Jump to content

libphp5.so not generated


Recommended Posts

I have been battling with this for a while now, and was hoping someone who's faced a similar issue could help me out.

 

I had installed apache2 and php5 (from source) on my centos 5.5 system, and the php5 shared object got created perfectly fine at that time.

 

Then, I later realized that I needed curl support, so I recompiled and re-installed php, but, this time the shared object just does not get generated. And i dont get any errors either.

 

Here are the configure options I used for php:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --enable-safe-mode --with-mysql=/usr/local/mysql --with-gd  --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --enable-gd-native-ttf --with-ttf –with-freetype-dir=/usr/lib --enable-exif --with-openssl --with-curl

 

php version:php-5.2.13

apache version:httpd-2.2.15

 

Any help on this would be highly appreciated!

Thanks,

Sapna

 

Link to comment
https://forums.phpfreaks.com/topic/209886-libphp5so-not-generated/
Share on other sites

  • 3 weeks later...

I got a libphp5.so generated and php running from the command line.  (It's still not running in a browser though)

 

This is the page/code  that helped me out.

http://serverfault.com/questions/35696/how-do-i-reinstall-php-on-my-system

 

# apt-get install build-essential devscripts

# apt-get source php5

# cd php5-*

# vim debian/rules

# debuild -us -uc -b

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.