LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-19-2007, 10:11 AM   #1
DMeerholz
LQ Newbie
 
Registered: Jun 2007
Posts: 22

Rep: Reputation: 15
PHP Install problems


Hi,

I am installing PHP4 on an AIX machine, the toolkit cd had both apache and php RPM's... Apache installed and working fine, but now php is giving me trouble.

php-4.0.6.5.aix4.3.ppc.rpm 685.6KB
php-devel-4.0.6.5.aix4.3.ppc.rpm 140.4KB

The rpms run and install without errors, it even tells me what to update in httpd.conf.

But before sorting out apache, I just want to double check php works. From the command line i type php xxx.php and it doesnt find php.
whereis php doesnt give me anything. But I ran the rpm... Do I have to do more config stuff?

I searched my machine for php* and found plenty, but none are the executable.

# find . -name "php*"
./home/damian/php-manual-4.0.6-5.aix4.3.ppc.rpm
./home/damian/php-devel-4.0.6-5.aix4.3.ppc.rpm
./home/damian/php-4.0.6-5.aix4.3.ppc.rpm
./opt/freeware/share/php-4.0.6
./opt/freeware/share/php-4.0.6/html/manual/mod/mod_php4/phpdevel-errors.html
./opt/freeware/share/php-4.0.6/html/manual/mod/mod_php4/phpdevel.html
./opt/freeware/share/php-4.0.6/icons/php4.gif
./opt/freeware/lib/php
./opt/freeware/include/php
./opt/freeware/include/php/ext/standard/php_array.h
./opt/freeware/include/php/ext/standard/php_assert.h
./opt/freeware/include/php/ext/standard/php_browscap.h
./opt/freeware/include/php/ext/standard/php_crypt.h
./opt/freeware/include/php/ext/standard/php_dir.h
./opt/freeware/include/php/ext/standard/php_ext_syslog.h
./opt/freeware/include/php/ext/standard/php_filestat.h
./opt/freeware/include/php/ext/standard/php_fopen_wrappers.h
./opt/freeware/include/php/ext/standard/php_image.h
./opt/freeware/include/php/ext/standard/php_incomplete_class.h
./opt/freeware/include/php/ext/standard/php_iptc.h
./opt/freeware/include/php/ext/standard/php_lcg.h
./opt/freeware/include/php/ext/standard/php_link.h
./opt/freeware/include/php/ext/standard/php_mail.h
./opt/freeware/include/php/ext/standard/php_math.h
./opt/freeware/include/php/ext/standard/php_metaphone.h
./opt/freeware/include/php/ext/standard/php_output.h
./opt/freeware/include/php/ext/standard/php_parsedate.h
./opt/freeware/include/php/ext/standard/php_rand.h
./opt/freeware/include/php/ext/standard/php_smart_str.h
./opt/freeware/include/php/ext/standard/php_smart_str_public.h
./opt/freeware/include/php/ext/standard/php_standard.h
./opt/freeware/include/php/ext/standard/php_string.h
./opt/freeware/include/php/ext/standard/php_var.h
./opt/freeware/include/php/main/php.h
./opt/freeware/include/php/main/php3_compat.h
./opt/freeware/include/php/main/php_compat.h
./opt/freeware/include/php/main/php_config.h
./opt/freeware/include/php/main/php_content_types.h
./opt/freeware/include/php/main/php_globals.h
./opt/freeware/include/php/main/php_ini.h
./opt/freeware/include/php/main/php_logos.h
./opt/freeware/include/php/main/php_main.h
./opt/freeware/include/php/main/php_network.h
./opt/freeware/include/php/main/php_open_temporary_file.h
./opt/freeware/include/php/main/php_reentrancy.h
./opt/freeware/include/php/main/php_regex.h
./opt/freeware/include/php/main/php_streams.h
./opt/freeware/include/php/main/php_syslog.h
./opt/freeware/include/php/main/php_ticks.h
./opt/freeware/include/php/main/php_variables.h
./opt/freeware/include/php/main/php_version.h
./opt/freeware/include/php/php_version.h
./opt/freeware/doc/php-4.0.6
./opt/freeware/bin/php-config
./opt/freeware/bin/phpextdist
./opt/freeware/bin/phpize
./etc/opt/freeware/apache/php.ini

Also could someone explain why those php files are so small, but downloading php4 from php.net and the file is almost 5MB... Whats the difference?

Thanks,

Regards,
Damian
 
Old 07-19-2007, 02:34 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Not sure of AIX, but I can answer this question:

Quote:
Also could someone explain why those php files are so small, but downloading php4 from php.net and the file is almost 5MB... Whats the difference?
RPMs are binaries. The tarball from php.net is a full source tree, which contains many support files (configure scripts, makefiles, docs etc) that are required to build from source.

This is not unique to PHP. Pretty much all source tarballs will be significantly larger than an equivalent binary distribution.
 
  


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
PHP & GD install problems Beauford-2 Linux - Software 1 06-20-2006 05:18 PM
Problems when trying to install apache + php --> Slack 10.1 stormrider_may Slackware 2 03-08-2006 06:40 AM
PHP install problems mouldy_punk Linux - Software 1 02-12-2005 03:36 PM
curl/php/apache install problems ewlnxnewB Linux - Software 2 10-22-2004 04:33 AM
Problems running make install for php jimieee Linux - Software 5 12-30-2003 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration