LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-30-2008, 09:55 AM   #1
xxx_anuj_xxx
Member
 
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Rep: Reputation: 16
Centos 5.0, php-5.2.8 installation, chmod 755 /usr/local/apache2/modules/libphp5.so


Hello,
I have installed php-5.2.8, from source on RHEL5.2 AP, I faced no problem.

Now I am trying to install the same php from source on Centos 5.0 my installation of php taking too much time and cpu usage going 100% with a particular command apxs.

output from ps aux|grep apxs
root 7152 0.0 0.0 4468 968 pts/1 S+ 01:36 0:00 /bin/sh -c /usr/local/src/php-5.2.8/build/shtool mkdir -p '/usr/local/apache2/modules' && /usr/local/src/php-5.2.8/build/shtool mkdir -p '/usr/local/apache2/conf' && /usr/local/apache2/bin/apxs -S LIBEXECDIR='/usr/local/apache2/modules' -S SYSCONFDIR='/usr/local/apache2/conf' -i -a -n php5 libphp5.la
root 7277 99.6 0.2 6560 2592 pts/1 R+ 01:36 11:08 /usr/bin/perl -w /usr/local/apache2/bin/apxs -S LIBEXECDIR=/usr/local/apache2/modules -S SYSCONFDIR=/usr/local/apache2/conf -i -a -n php5 libphp5.la

While on the terminal on which i passed make && make install, I am getting message as:

cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.2.8/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so

I am not getting back to the terminal and have the same message.

I have a file created in /usr/local/apache2/modules/libphp5.so
wc -l /usr/local/apache2/modules/libphp5.so
70996 /usr/local/apache2/modules/libphp5.so

-rwxr-xr-x 1 root root 12804444 Dec 31 01:36 /usr/local/apache2/modules/libphp5.so

I have space on all my partitions.

What can be the reason? Any idea?

Thanks & Regards
Anuj Singh
 
Old 12-30-2008, 01:37 PM   #2
xxx_anuj_xxx
Member
 
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Original Poster
Rep: Reputation: 16
Hi,
I installed php-mcrypt rpm using yum, after this I am not having same problem.

Thanks & Regards
Anuj Singh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access `/usr/local/apache2/modules/libphp5.so' gravesb Linux - Software 13 12-02-2011 03:56 AM
PHP5 + Apache 2.x : /usr/local/modules/libphp5.so: Undefined symbol "apr_table_set" Ephracis Linux - Software 6 10-01-2010 01:26 PM
/usr/local/apache2/bin/apachectl: line 65: 4407 Segmentation fault $HTTPD -k $A onlin85 Linux - Software 2 06-18-2009 07:54 AM
Cannot load /usr/lib/apache2/libphp5.so into server Kristijan Slackware 1 10-08-2005 01:28 AM
Webmin: The Apache server executable /usr/local/apache2/bin does not exist hektor Linux - Software 0 01-14-2005 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration