Forum Moderators: coopster

Message Too Old, No Replies

newbie:install dbg.so in fedora core 4,php5.04,apache 2.0.54

         

cuongvt

2:12 am on Aug 30, 2005 (gmt 0)

10+ Year Member



I'm new bie to linux. I want to move php development from windows to linux.
Last night I succefully installed FC4.
And I also installed apache 2.0.54 from source to :/usr/local/apache2
with *.so enabled.

and installed php5.04 from source to /usr/local/apache2/php
--with-config-file-path=/usr/local/apache2/php
apache and php5 works with no prolems with phpinfo().

And then I want to install dbg. I downloaded binaries for Linux/glibc 2.2 platform DBG 2.11.32 dbg modules and
extracted needed dbg.so file from tgz file and rename it to dbg.so.
Then I must config server part. Related to this, Nusphere said in intallation guide as follow:
"copy php_dbg.dll (win32) or dbg.so (linux) into appropriate directory. Read PHP documentation on how to install PHP extension. "

But I don't know which directory is "appropriate directory" in fedora core 4.
In windows, I copied php_dbg.dll to c:\webserver\php5\ext
(In case I installed php5 to c:\webserver\php5)
I already checked the extension path in phpinfo().
I don't remembered exacltly, but phpinfo() said:
exntetions_dir=/usr/local/apache2/php/lib/php/extensions
I goto it by cd command. But the cd command could only went to =/usr/local/apache2/php/lib/php/
Because there is no extentions directory. => I think it is strange.
Could you give me another info?

Could anyone tell me where I must copy dbg.so to?
Pls help me. Ineed your help.
thanks

coopster

12:27 am on Sep 1, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, cuongvt.

Your config is certainly telling PHP to find it's extensions in that directory. Have another look at your PHP installation and the directory structure to see if you can locate the extension directory.

cuongvt

12:39 am on Sep 1, 2005 (gmt 0)

10+ Year Member



Hi, please help me again.
I did as you guided as follow:
- Icreated a extensions folder with path and copied dbg.so into it:
/usr/local/apache2/php/lib/php/extensions
(I think I exactly copy the needed one from tgz file. This dbg.so is for php5.0.3)

- When I restarted apache, in phpinfo() dbg still not loaded
(I forgot to check the log of apache.But I think I will check it tonight and give you
more info about it)

I attached txt file including my phpinfo() and php.ini. If you have a free time, pls
check it for me to clear what thing's wrong.
I really need your help. thanks in advanced.