LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   PHP Install problems (https://www.linuxquestions.org/questions/linux-software-2/php-install-problems-570683/)

DMeerholz 07-19-2007 10:11 AM

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

bulliver 07-19-2007 02:34 PM

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.


All times are GMT -5. The time now is 01:03 AM.