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
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

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.