Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2


I did the following as instructed in the docs. (see below)
everything seemed to install ok
and I started apache with no complaints, but,

1)I do not see a process for apache using ps -ef
2) In yast I see that the new apache2 version is installed but not
php5, its still on php4

any ideas ?

1. gzip -d httpd-2_0_NN.tar.gz
2. tar xvf httpd-2_0_NN.tar
3. gunzip php-NN.tar.gz
4. tar -xvf php-NN.tar
5. cd httpd-2_0_NN
6. ./configure --enable-so
7. make
8. make install

Now you have Apache 2.0.NN available under /usr/local/apache2,
configured with loadable module support and the standard MPM
prefork.
To test the installation use your normal procedure for starting
the Apache server, e.g.:
/usr/local/apache2/bin/apachectl start
and stop the server to go on with the configuration for PHP:
/usr/local/apache2/bin/apachectl stop.

9. cd ../php4-NN
10. ./configure --with-apxs2=/usr/local/apache2/bin/apxs
11. make
12. make install
13. cp php.ini-dist /usr/local/lib/php.ini

Edit your php.ini file to set PHP options. If
you prefer this file in another location, use
--with-config-file-path=/path in step 10.

14. Edit your httpd.conf file and check that these lines are
present:

LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php

The path on the right hand side of the LoadModule statement must
point
to the path of the PHP module on your system. The above statement is
correct for the steps shown above.

15. Use your normal procedure for starting the Apache server, e.g.:
/usr/local/apache2/bin/apachectl start




View Complete Forum Thread with Replies

Related Forum Messages:
Install Php5 On A SuSE 9.3 Linux System Running Apache 2.0.49
I am trying to install php5 on a SuSE 9.3 Linux system running apache 2.0.49. For some reason,when attempting to restart the server,I get the following error:

"Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf:

Cannot load /usr/lib64/apache2-prefork/libphp5.so into server: /usr/lib64/apache2-prefork/libphp5.so: undefined symbol: php_session_create_id"

Does anyone know what is causing this error,or what I can do to correct it?


View Replies !
Problem Installing PHP5 On SuSE 8.2
I've been reading through the lasts months of postings in this
(and some other) newsgroups to find a solution to my PHP problem.

The configuration I use is as follows:

- SuSE v8.2
- Apache 2.0.54
- MySQL 4.1.14
- PHP 5.0.5

Installing the first 3 parts was not a problem at all. Both
Apache and MySQL start just fine. Before I could perform a proper
'configure' of PHP I had to update libxml2, add libxml2-devel and
python but then the following command worked without any errors:

./configure --with-apxs2=/usr/local/httpd/bin/apxs
--with-mysql=/usr

[note: the previous is, of course, a single line]

After this, I used 'make' to compile the stuff and this is where
things go wrong. The following error message is shown:

=============[ start of make-output ]============================
vpsuse:/usr/local/php # make
/bin/sh /usr/local/php/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/standard/
-I/usr/local/php/ext/standard/ -DPHP_ATOM_INC
-I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php
-I/usr/include/mysql -I/usr/local/php/ext/xml/expat
-I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2
-prefer-non-pic -c /usr/local/php/ext/standard/info.c -o
ext/standard/info.lo
/bin/sh /usr/local/php/libtool --silent --preserve-dup-deps
--mode=compile gcc -I/usr/local/httpd/include -DLINUX=2
-D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -I/usr/local/httpd/include
-I/usr/local/httpd/include -Isapi/apache2handler/
-I/usr/local/php/sapi/apache2handler/ -DPHP_ATOM_INC
-I/usr/local/php/include -I/usr/local/php/main -I/usr/local/php
-I/usr/include/mysql -I/usr/local/php/ext/xml/expat
-I/usr/local/php/TSRM -I/usr/local/php/Zend -g -O2
-prefer-non-pic -c
/usr/local/php/sapi/apache2handler/sapi_apache2.c -o
sapi/apache2handler/sapi_apache2.lo
In file included from
/usr/local/php/sapi/apache2handler/sapi_apache2.c:39:
/usr/local/httpd/include/ap_config.h:229:16: os.h: No such file
or directory
In file included from /usr/local/httpd/include/util_filter.h:23,
from
/usr/local/php/sapi/apache2handler/sapi_apache2.c:40:
/usr/local/httpd/include/httpd.h:42:16: os.h: No
such file or directory
make: *** [sapi/apache2handler/sapi_apache2.lo]
Error 1
=============[ end of make-output ]==============================

View Replies !
Installing PHP5 On APACHE 2.2.x
I'm trying to do a new install of PHP5 on Apache 2.2.x and i'm running into a serious snag. It wont load anything! after it's installed, I've checked my configure files and then load it. When i open a page i get nothing. just blank pages no matter what.
Then if i turn on the startup error reporting i get errors galore telling me that *.dll's could not be loaded. I've checked my paths, and checked my sources, permissions and everything. The files are there.

View Replies !
Running PHP 4 And PHP 5 Together As Modules, Linux, Apache 1.3.x
We have been running PHP 4.x on Apache 1.3.x with
no problems. After the first upgrade from php3 -> php4 were
were able to load both modules for php 3 and php 4 with no
problem. With an AddType directive we forced php 3 execution
for just those files ending in php3.

Thought we could do the same with php 5. We have a
lot of folks on 4 who may not be ready to upgrade yet, so
we were planning on letting php 4 handle anything ending in
..php or .php4 -- and use php 5 for just php5 extensions.

Did the same thing as before in our Apache Config,
we are running on Redhat 9 -- but can't get both 4 and 5
running together. It seems we can run one or the other, but
not both -- when we start apache we get ONE server process
that just sits there, nothing in the log files?

After some web searching could not find much, one
guy said there was a conflict in memory management and
you can't run the two together?

Anyone got this to work and how? Had posted this to
the alt..php group and still looking for a solution?

View Replies !
Installing Php4 And Php5 On Same Apache Server
i'm trying to install php4 and php5 on same apache but it doesn't work. i have php4 installed in c:php4 and php5 in c:php5 if it's possible to install both as module it will be great. Code:

View Replies !
Can't Link Gd Library To 4.3.4 Running On Apache And Linux.
It installed the files by default in /usr/local/lib and /usr/local/includes.

I'm using a debian based distribution called Knoppmyth that installs php and apache automatically. When I run phpinfo(), it tells me that it was compiled with gd support like so --with-gd=shared,/usr.

I'm not exactly sure what "shared, /usr" means though. I'm assuming it means its looking for the gd library files in the /usr directory but I don't know why the word "shared" is there. Code:

View Replies !
Install PHP5 And Apache 2.2.2 (Linux)
I'm running into the same problem that no doubt many are. I'm installing PHP 5.1.4 and Apache 2.2.2 on the same server, but Apache won't recognize the PHP module, saying it's garbled.

I understand from reading various bug reports that PHP will release this option come 5.2.0, but I want to know if anybody has PHP 5.1.4 and Apache 2.2.2 working under Linux yet.

View Replies !
Running PHP/Apache On A User Mode Linux Machine, Where To Stick Mysql?
I hope no one minds me running this past them.

I'm running a linux machine with with apache, php and mysql. This is not
accessable from the internet. I want a server that is visable to the
internet. For that purpose I am running a user mode linux machine and using
apache on that as the external looking web server. This means that stuff I
want to see on the outside is on a copy of apache that is doing little and
does not get messed around with as much as my main copy of apache.

I am not using mysql with it at the moment. If I do am I better running
mysql on the user mode machine or running a second copy of mysql on a
different port on the 'main' machine. I'm beginning to think the latter
has advantages.

View Replies !
Problem In Installing 5 On Suse 9.3
I am trying to install php5 on suse 9.3 but whenever I run configure it gives me strange error relating to libxml2. I have install libxml, libxml-devel, libxml2, libxml2-devel all new verion but I get the same error again again and again.....

and whn I try to disable xml in configure with --disable-xml it gives me a error sayin DOM requires XML kindly enable it, fine I require xml support to but.. here is the error dat I get whn I m runnin ./configure --with-mysql --with-apxs2 --with--curl Code:

View Replies !
Suse Linux
i have recently intslled suse linux 10 service pack 1. when i use php command in htdocs directory for php file. the error shows command not found.when i access the full information of phpinfo(); from localhost/a1.php where a1.php has only one line phpinfo(); but at command promppt the problem exist.

View Replies !
Mail :: Suse Linux 9.3
I've been trying to send email with php mail function in suse linux 9.3 professional from Localhost but I'm not receiving the mail and I'm not getting any error as well.

View Replies !
PhP Can't Write Or Open Files In Suse Linux
I'm on Linux 10 and none of the file functions work in PhP. I get a permission denied error although I've even chmod the files and directories to 777.

I was doing some research on this this and someone had the same problem in a Fedora box. It turned out to be a SElinux issue. Could there be anything in my SuSe that's similar to SElinux?

View Replies !
Trying To Build PHP 4.3.0 With Apache 2.2.2 On SUSE 9.1
Whilst I grep around for the first set of problems, I thought I'd ask
any generous members of this PHP community for clues...

I've started by trying out the instructions at:
http://dan.drydog.com/apache2php.html

Got this out of the make:
-----------------------------------------------------------------------------------------------
/bin/sh libtool --silent --mode=compile gcc -Isapi/apache2filter/
-I/root/downloads/php-4.3.0/sapi/apache2filter/ -DPHP_ATOM_INC
-I/root/downloads/php-4.3.0/include -I/root/downloads/php-4.3.0/main
-I/root/downloads/php-4.3.0 -I/usr/local/Apache2/include
-I/root/downloads/php-4.3.0/Zend -I/usr/local/include
-I/root/downloads/php-4.3.0/ext/xml/expat
-I/root/downloads/php-4.3.0/TSRM -g -O2 -prefer-pic -c
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c -o
sapi/apache2filter/sapi_apache2.lo
In file included from /usr/local/Apache2/include/apr_strings.h:48,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34:
/usr/local/Apache2/include/apr.h:270: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr.h:270: warning: data definition has no
type or storage class
In file included from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:34:
/usr/local/Apache2/include/apr_strings.h:297: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr_strings.h:313: error: parse error before
'*' token
/usr/local/Apache2/include/apr_strings.h:349: error: parse error before
"size"
In file included from /usr/local/Apache2/include/apr_file_io.h:29,
from /usr/local/Apache2/include/apr_network_io.h:26,
from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:
/usr/local/Apache2/include/apr_file_info.h:204: error: parse error
before "apr_off_t"
/usr/local/Apache2/include/apr_file_info.h:204: warning: no semicolon
at end of struct or union
/usr/local/Apache2/include/apr_file_info.h:206: warning: data
definition has no type or storage class
/usr/local/Apache2/include/apr_file_info.h:212: error: `ctime'
redeclared as different kind of symbol
/usr/include/time.h:254: error: previous declaration of `ctime'
/usr/local/Apache2/include/apr_file_info.h:219: error: parse error
before '}' token
In file included from /usr/local/Apache2/include/apr_network_io.h:26,
from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:
/usr/local/Apache2/include/apr_file_io.h:548: error: parse error before
"apr_off_t"
/usr/local/Apache2/include/apr_file_io.h:740: error: parse error before
"apr_off_t"
In file included from /usr/local/Apache2/include/apr_buckets.h:29,
from /usr/local/Apache2/include/util_filter.h:26,
from
/root/downloads/php-4.3.0/sapi/apache2filter/sapi_apache2.c:36:

/usr/local/Apache2/include/apr_network_io.h:545: error: parse error
before "apr_off_t"

View Replies !
Cannot Find MySQL Header Files Under - Compiling PHP5 (Suse 9.0)
I have compiled and installed MySQL and Apache 2. I am now trying to compile
PHP5 module for apache but am having real problems with it. I keep getting
the message:

"Cannot find MySQL header files under" and then a file path. I have tried
various paths and no path at all but I still can't get it to work. Is there
something else I need to download that is not part of the Standard MySQL
source download?

View Replies !
Apache 1.3.27, PHP 4, SuSE 8.2 PRO - Form-Post Failure
I've recently done an upgrade installation to SuSE PRO 8.2 from
same/8.0.

The problem now is that I don't seem to be receiving data from forms
to PHP-processing pages using either POST or GET for the form method.

When I use GET, I see that the URL has been correctly formed with the
variable name embedded in the URL along with the properly formed
value:

http://www.whatever.com/test.php?ma...Process+Request

Then, in a sample php script:
<?
print "main: $main<BR/>
";
if ($main == "") {
print "main is blank<BR/>
";
}
?>

All I get in the output HTML on the test php script is the "main: "
portion of the print command - the variable is reported as a null and
tests positive for a null.

The php function test() shows mod_php4 is loaded. I have
performed/duplicated these results with the firewall on and the
firewall off. Not that I think the firewall is an issue since the GET
method shows, via the URL, that the variable information is passed
across forms. But I did read somewhere that a firewall can impact the
POST method so I turned it off to try it - no change in the results.

Even tho the info is being passed (GET), it's not accessible by
var-name access in the PHP script. All the php scripts on my server
are so affected and were working prior to the upgrade.

Any ideas? I also suspect this is why my squirrelmail installation
stopped working.

View Replies !
Warning: Invalid Argument Supplied For Foreach() Running On A OS X Machine Running Apache 1.x And PHP 4.x.
The following script was running on a OS X machine running Apache 1.x and PHP 4.x. I just moved the script over to a Linux machine running Apache 2.0.51 and PHP 4.3.8, and now the foreach line does not work. It says Warning: Invalid argument supplied for foreach()

in /var/www/localhost/htdocs/warehouse/whse_order_submit.php on line 39

Here is the script:

<?php
//get the variables from the other page
$id=$_POST['id_no'];
$sku=$_POST['sku'];
$description=$_POST['description'];
$order=($_POST['order_qty']);
$store=$_POST['store'];
$comment=$_POST['comment'];

$ip=$REMOTE_ADDR;

//check if store is empty
if(empty($store)) {
die("Store is required. Please press the back button and enter in your store.");
}

//connect to the database
require('../inc/database_conn.php');

//$month=getdate(mon);
//$day=getdate(mday);
//$year=getdate(year);
//$today=$year . "-" . $month . "-" . $day
$today=date('Y-m-d');

// create the unique order number

$headerqry = "INSERT INTO misc_order_header (order_date, store, comment, ip) VALUES ('$today', '$store', '$comment', '$ip')";

mysql_query($headerqry, $conn) or die(mysql_error());
$order_no=mysql_insert_id();
foreach($order_qty as $id_no => $val) {
if($order_qty[$id_no] > 0) {
$detailqry = "INSERT INTO misc_order_detail (order_no, id_no, sku, order_qty, order_date, store) VALUES ('$order_no', '$id_no', '$sku', '".$order_qty[$id_no]."', '$today', '$store')";
mysql_query($detailqry, $conn) or die(mysql_error() . "<BR>" . $detailqry);
}
}

View Replies !
Linux, Php,cvs, Curl Installing Problem
I checked out openssl,mm,apr,apr-util,apache 2,curl,libxml and php
from cvs.

php couse an ERROR

I did the following steps:

export ORACLE_BASE=/usr/local/share/oracle/
export ORACLE_HOME=/usr/local/share/oracle/OraHome1
export ORACLE_DOC=$ORACLE_BASE/doc
export ORACLE_SID=udb
export TWO_TASK=udb.suchtreffer.de
export PATH=$PATH:/usr/local/share/oracle/OraHome1/bin
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export CLASSPATH=/usr/local/share/oracle/jre:$ORACLE_HOME/jlib
export NLS_LANG='ENGLISH_UNITED KINGDOM.WE8ISO8859P1'
export ORA_NLS33=/usr/local/share/oracle/OraHome1/ocommon/nls/admin/data

openssl:
cd /usr/local/src
rsync -rztpv --delete rsync://dev.openssl.org/openssl-cvs/
/usr/local/src/openssl-cvs-rsync/
cvs -d /usr/local/src/openssl-cvs-rsync co openssl
cd ./openssl
config no-idea no-threads -fPIC
make
make test
make install

mm:...........

View Replies !
Installing Php Soap Extension On Linux Box
I'm trying to enable the SOAP extension on my server, which is running linux.

1) Is it possible to enable this extension dynamically (i.e. by simply modifying the php.ini file) like you can do in the windows installation? From what I have been able to find on the web I think the answer to this question is No, but perhaps I've read the wrong stuff...

2) If I cannot enable Soap dynamically, I believe I have to reconfigure my PHP installation with the command:

./configure --enable-soap

When I run this command do I need to include all the other configuration options for PHP as well, or will this command simply add --enable-soap on top of the configuration options for my current installation of PHP?

View Replies !
"failed To Open Stream No Such Directory Or File" Apache Suse 10.0
<<"failed to open stream no such directory or file>>

Avez vous trouve ? J'ai le meme genre de probleme en essayant
d'installer en local avec SuSE 10 apache2 php4 , il me semble qu'il
manque un package mais lequel ?

Quote:

View Replies !
Installing Php5
i got apache 1.3.28 (on win xp)

can i install php5 on it?

i tried the same way like u would php 4. only changed loadmodule php5_module

but when i start apache it says cant load module

View Replies !
HELP! Installing Php5.1.4 For Mysqli
I'm trying to get the mysqli object-oriented syntax to work in php. I
understand that I have to have at least version 5 of php - I've
therefore opted for version 5.1.4. The remainder of my setup is as follows

php 5.1.4
mysql 4.1.10a-2.RHEL4.1
httpd-2.0.52-12.2.ent
Redhat Enterprise Linux 4

To be able to configure and compile the source of php to work with
mysqli, I've had to add the following packages:

flex (2.5.4a-33 found with apt-get install flex)
bison (1.875c-2 found with apt-get install bison)
apxs (apt-get install http-devel [2.0.52-12.2.ent])
libxml2 2-2.6.24 (only 2-2.6.16 available via apt-get)
apt-get remove libxml2
wget
"http://ftp.gnome.org/pub/GNOME/sources/libxml2/2.6/libxml2-2.6.24.tar.bz2"

./configure
make
make install

However, make tests results in a lot of errors as follows:
======
file:///etc/xml/catalog:1: parser error : Document is empty ^
file:///etc/xml/catalog:1: parser error : Start tag expected, '<' not
found ^
======

mysql header files (apt-get install mysql-devel [4.1.10a-2.RHEL4.1])

source of php-5.1.4 obtained from:
wget "http://uk.php.net/get/php-5.1.4.tar.bz2/from/this/mirror"

and rebuilt with
./configure --with-mysql --with-apxs2=/usr/sbin/apxs
make
make install

When I've finished this and rebooted the machine, the phpinfo test
command doesn't bring up the PHP information page as I would hope (it
just echoes the "<?php phpinfo(); ?>" command to the screen).

Does anyone know what I'm doing wrong (or what I've missed out)?
www.reestitmutton.co.uk

Bringing you the best-value mobile phone contract deals in the UK
Presented the way it should be...in plain English

View Replies !
Installing Php5 Beta 4
Has anyone built the PHP5 beta 4 as an apache module ? I am using
apache 2.

Is there some trick, or missing instructions, or known bug ? Perhaps
you have to use some version of apache earlier than 2.0.48, the
current latest ?

I have built php4 before without problems. After trying a variety of
things and never getting a libphp5.so, I am at a loss as to how to go
about this. (When I did a configure without using the --with-apxs2,
and instead did a --with-apache=/path/apache_1.3/, I think it made the
right Makefiles to make a module, but I'm not running apache 1.3 I'm
running apache 2.)

If I could at least confirmation that someone out there did it, I can
post the various steps and configure lines for php and apache that I
tried. Right now I think the next step is to start fiddling with the
build system.

View Replies !
Running GD Externally To PHP On Linux?
I am on a linux system where the GD library is not compiled into PHP.
Is there a way to load this module without having to re-compile PHP?
I know that you can change the ext= in Windows, but have not seen any
specifics for a linux system.

View Replies !
Installing Php5 With Mysqli And Mysql5
I am trying to set up a server with mysql5 and php5. I used the binaries provided on mysql.com to install mysql. For php I compilied it once with --with-mysql but then found out that --with-mysql doens't wotk for mysql5. So I have gone back to recomplie php with --with-mysqli. But try as I might I can't get php to configure. I keep getting "

checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log for more information.
"
My config command is:
./configure --with-apxs2=/usr/local/apache2/bin/apxs --without-mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-zlib --with-curl --with-gd --with-libxml-dir=/usr/lib

I had php previously compile with --with-mysql.

View Replies !
Installing PhP5 (Win). Browser Shows Code.
I'm installing PhP5 on WinXP, with Apache2.
In my Apache's httpd.conf file I have added
LoadModule php5_module c:/php-5/php5apache2.dll
and moved the .ini file to C:/Windows/php.ini
Apache works with the php module loaded.
When I look at this code with my IE browser:

<? phpinfo(); ?>

or

<?php
phpinfo();
?>

....all I get in the browser is the code itself.
Q: why is it not working? How can I diagnose my problem?
I've spent hours with manuals, etc.

View Replies !
Installing On Apache
I'm a beginner in PHP, am currently learning the language, and need top install PHP on my system so I can test it off-line. I installed apache and can't get PHP to work with it. I also cannot get it to work with my main site file in another location, only if I put them in the file directory in the within the apache directory. Any ideas?
The httpd.conf file is here
Thanks for your help!

View Replies !
Installing PHP And Apache
I've been trying to setup PHP and apache on windows xp pro sp2. I went through the steps to configure httpd.conf and setup iis....but when i go to localhost/php.php all IE says "The specified module can't be found"....Not sure which module it is..

View Replies !
Installing Php 5.x On Apache 2.x
I downloaded the latest stable msi installer. Left it with default options
unless i specifically needed to change them (e.g. server). Then I went to
configue my httpd.conf file, and I realised I don't know where to put the
lines of code.

Can someone please say where I need to insert:

1) ScriptAlias /php/ "c:/php/"

2) AddType application/x-httpd-php .php3) Action application/x-httpd-php
"/php/php-cgi.exe"

View Replies !
Installing SSL On Apache
I'm trying to install ssl on apache for use with php (I think installing SSL is what I need to do to avoid the curlopt error 'error setting certificate verify locations'...)

I'm getting very confused. I'm currently running apache 2.0.58, and I'm trying to install openssl and modssl, but then it seems mod ssl is only for apache 1.3

I've read various tutorials about installing ssl on apache, but they all seem to be missing a step or 2.

I think what's missing is my understanding of the various components. Can someone explain to me the relationship/difference between apache, apache SSL, openssl & modssl?

View Replies !
Installing PHP W/ Apache
I've been trying for around 5 hours to get PHP and Apache running. I was using Vista on my server but am upgrading to Windows 2003 Server Enterprise x64. I was using the standard PHP & Apache distributions so they are x86 based. But I install Apache and it works fine. I get the "It Works" page. But if I install PHP, with auto configuring Apache, I am not able to view PHP! If I modify the "It Works" page to add:

<?php
HELLO
?>

No error is returned. Correct PHP also doesn't return anything. What's going on?! I I install WAMP I get two errors and nothing works there, either. I have tried installing WAMP on several computers and always get errors.

View Replies !
Installing PHP On Apache
I downloaded PHP 5.1.4 and Apache 2.2.2 and tried to install on Windows XP. Apache works ok, but when I try to restart it with PHP enabled, I get this message:

Syntax error on line 115 of httpd.conf: Cannot load C:/PHP/php5apache2.dll into server: The specified module could not be found.

However, there is a php5apache2.dll in C:PHP (although it's forward slashes in httpd.conf). So what's the deal? I've installed PHP on Apache maybe ten times and I
never had any problems until now.

View Replies !
Problem Installing Apache With PHP 4
I can't get it working together ,i've read all e-books and instructions and
it's giving me a headache....

I am using Apache 2.0.48 and PHP 4.3.11

When I try
<? phpinfo(); ?>

it's all working but when i try simple php scripts with one input text box
:
text.html
<HTML>
<HEAD></HEAD>
<BODY>
<FORM METHOD=GET ACTION="text.php">
Who is your favourite author?
<INPUT NAME="Author" TYPE="TEXT">
<BR>
<BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>

text.php
<HTML>
<HEAD></HEAD>
<BODY>
<FORM METHOD=GET ACTION="text.php">
Who is your favourite author?
<INPUT NAME="Author" TYPE="TEXT">
<BR>
<BR>
<INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>

View Replies !
Installing Apache+mysql+php
redhat 7.1 but all the three apps(apache,mysql,php) are tar.gz format. When I configure php with the --with-pspell=/usr/local/pspell option, I got the error "pspell/pspell.h no such file or directory".

pspell.h is in the directory /usr/local/pspell/include/.

If I omitted that option, installation was ok. Can somebody tell me why? and how to fix it?

View Replies !
Installing PHP 5.05 On WIndows XP, Apache 2.0.54 -
Hi Im trying to install PHP 5.05 on Windows XP running Apache 2.0.54

Apache is running fine and ive made all the changes to the pnp.ini file
and Apache config file, restarted Apache but all I get when trying to
call my test.php file is a 404 error?

http.config file:
LoadModule php5_module "C:/php/php5apache2.dll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

set my php.ini doc-root file to :
doc_root = "C:Program FilesApache GroupApache2htdocs"

Ive followed all the FAQs on php.net , added c:/php to the Path etc

View Replies !
Installing PHP 5 With Apache 2 As A Module
I'm installing PHP 5 with Apache 2 as a module (also with MySQL embedded in
php as an extension along with gd and tiny) on a Win2003 server. When I
start Apache2 as a service without the php.ini in the C:WINDOWS directory,
Apache starts. PHP also functions (my test.php file (<? phpinfo(); ?>)
produces the expected output), however, none of the three embedded modules
is active (which is to be expected). When I add the php.ini file to the
WINDOWS directory, however, Apache2 just hangs and won't start. Any ideas?
Here are what I believe to be the pertinent parts of the php.ini file and I
think there are no problems with the httpd config for Apache2 since it will
start (without the php.ini file in the WINDOWS directory) and PHP is
functional with its defaults.

doc_root = "c:Program FilesApache GroupApachehtdocs"
extension_dir = "C:PHPext"
extension=php_gd2.dll
extension=php_mysql.dll
extension=php_tidy.dll

MySQL has passed its tests but I've tried commenting it out in the PHP
config file and making sure that it isn't running and that has no effect.

Versions are:
apache_2.0.50-win32-x86-no_ssl.msi
mysql-4.0.21-win
php-5.0.1-Win32.zip
PHP is installed as an apache module

View Replies !
Installing Php, Mysql, Apache
Do i need to unistall my current versions php 4.0, mysql 3.x, apache 1.x or can i just stick the cd in and let it install the latest versions?

View Replies !
Error Installing PHP 5.2 With Apache 1.3
I'm a big newbie with all this, and I'm trying to install PHP 5.2 under
Apache 1.3, my OS is Win XP. I first installed Apache and it is working
fine. Please go through the following steps / file fragments and tell
me where I'm going wrong in installing PHP.

1- I unzipped the PHP files to C:/Programming/PHP, and also copied the
dll's to the system32 directory.

2- I copied the php.ini-dist file to the windows directory (renamed as
php.ini) and added the following to it -
doc_root = "C:/Programming/Apache Group/Apache/htdocs"
extension_dir = "C:/Programming/PHP/ext"

Also I turned on extensions for various things.

3- Then I added the following lines to the httpd.conf file -
LoadModule php5_module "C:/Programming/PHP/php5apache.dll"
Addmodule mod_php5.c
AddType application/x-httpd-php .php

Then when I made a test.php in the Apache htdocs directory, it gives me
the option of downloading the file (that means it is finding the file,
I guess. It doesn't know what to do with it.)

View Replies !
Installing PHP / Apache Problems (again)
I have had to reinstall windows and at present I am currently trying to
put back in place my apache2/php4 setup.

I have installed apache and I get the http://localhost 'apache is
installed' page. Nice one!

When I try to configure apache with PHP unzipped into a folder (c:/php)
and run it as a module, no matter what I try it just wont load the PHP
page in 'htdocs'. I havent yet set it to automatically load
'localhost/index.php' when you simply type in 'localhost', so when I do
this is presents me with a page with the file contents of localhost.
index.php is there but when I click it I then get a 404 error.

I had originally put a post up before which I think worked for me then,
but not now.

http://groups.google.co.uk/group/co...4501e67acda8fa1

I have tried the following httpd.conf settings:

ScriptAlias /php4/ "C:/php/"
AddType application-xhttpd-php .php
Action application-xhttpd-php "/php/php.exe"

View Replies !
Installing As CGI Or Apache Module
There are 2 ways to run PHP. One as an apache module, the other as CGI.

What are the speed and security differences between them?

Can they both exist at the same time? Or is it one or the other only?

If I have the Apache Module version working fine on Debian and I now run a

apt-get install php-cgi

will that just install the extra CGI version or does it remove the module version at the same time?

View Replies !
Anyone Know How To Configure Php5 On Debian Linux?
Have loaded Debian linux, and Php5.

1. Don't know how you start and stop the server apachectl and
httpd.apache don't seem to be present.

2. Added the elements to httpd.conf that I thought would need to go in
there, as I would if I was doing a windows application, and that seemed to
complete mess apache up.

View Replies !
Apache 2.0.50 Failed To Start After Installing PHP 5.0.1
The error in the 'eventviewer' is as follow:

Faulting application Apache.exe, version 2.0.50.0, faulting module
ole32.dll, version 5.2.3790.138, fault address 0x0001e5e3.

It was working with PHP 5.0.0 but then I put the 5.0.1, it won't start the
Apache with the above error.

View Replies !
Problem Installing PHP On Apache Server
I am trying to install Apache and PHP. I have installed apache fine
where I can type in http://localhost and it displays the default Apache
page.

When trying to install PHP I have run the installer file which seemed
to go OK. It is when configure the Apache httpd.conf file that I get
the problem. I have updated the ScriptAlias to read:

ScriptAlias /php/ "C:/Program Files/PHP/"

And added the following lines:

Action application/x-httpd-php "/php/php.exe"
AddType application/x-httpd-php .php

...as instructed by the tutorial I was reading.

To test PHP, I have created a phpinfo() page called index.php inside
the htdocs folder in Apache. When I try to access the file it give the
following 404 error:

Not Found

The requested URL /php/php.exe/index.php was not found on this server.

View Replies !
Installing Apache Can't Find The Php Module
so everything is compiled into apache.. but for some reason, its not executing anything ending in .php (it just asks if I want to download it). Php is compiled statically into the httpd binary, and I have the line "AddType application/x-httpd-php .php" in an apache config file. It's definitely recognizing it as the correct mime type because when the download box pops up in netscape, it says the file is of type "application x-httpd-php". It would seem that the problem is because apache can't find the php module, but when I run "httpd -l" on the httpd binary, it says right there that mod_php4.c is compiled in... sooo I'm pretty stumped.

View Replies !
Installing Mod_perl On Apache Win32
I seem to have no apachecore.lib in my Apache Folder, C:Apache, I therefore cannot install Perl, what do I do?? I can't make the perl dll.. I have Visual C++ 6.0 Enterprice.

View Replies !
Installing PERL On My APACHE Server
Does anyone have any meaningful opinion on PERL vs PHP? I was thinking about installing PERL on my APACHE server just to give it a shot.. but eh what real uses does PERL have over PHP?? You think installing perl and php is redundant?

View Replies !
How To Install PHP4 And PHP5 (linux Fedora4) ?
I'd like to use php5 but at my work we use PHP4.
How can use both togheter?
I work whith Linux Fedora 4 then I have PHP5 installed
so how can install PHP4 and use PHP5 for my experiment and PHP4 for works?

View Replies !
Installing Apache For The First Time On Home Machine
I'm installing Apache for the first time on my home machine, XP Pro. Of
course, the very first screen has me "Lost." It asks for my network domain
and network servername.

How do I go about finding what the network domain and network servername are
for my machine?

View Replies !
PHP Not Available On Apache (Linux)
I am a newbie to Linux, and therefore having a difficult time of installations that are probably quite mundane to "high-timers." I hope this is the correct newsgroup for a posting like this, but if not, please suggest other newsgroups.

I have installed PHP4 on a LInux/Mandrake machine, running Apache 1.3.12. All installations are compiled and installed in the default locations.
In the browser, I see a text printout of the .php document I'm requesting, rather than the executed form.
File types of:

AddType application/x-httpd-php .php3 .php4
AddType application/x-httpd-php-source .phps

have been added to the Apache config file.

I have a list of what PHP was compiled with, and --disable-short-tags was not one of them.

Execute permissions (755) have been added to the files I'm trying to see.
The INSTALL file called for mod_so which would be visible if httpd -l was run. It was. The five steps required in the "Quick Install" went through without a problem. Actually, I'm just trying to execute that tiny .php file that they give you... <?phpinfo()?> .

I've done the copying thing:
cp php.ini-dist /usr/local/lib/php.ini

In the INSTALL file, it calls for LoadModule php4_module libexec/libphp4.so to have an entry in Apache's config file. I don't see one. I also did a search for the libphp4.so file, and there's none to be found. A search for libphp4 shows a number of files, but none with .so extension.
This PHP installation was performed from a php-4.01pl2.tar.gz download - is this the right module?

As a note, CGI forms and MySQL queries work fine on this machine.

View Replies !
Apache, Php And Linux
I want to be able to use the php COM object to instantiate MS Word for a mail merge application I'm writing in php. I know this works like a charm on  a Windows Box because Windows is MS but my question is will this work on a Linux server? In order for this to work in Windows I need to change the login properties of the Apache Server and tick the box that says 'Allow service to interact with desktop '.

View Replies !
Running PHP As CGI On Apache
I'm having what you could call a bad day, now I'm not an experienced user of PHP but I know enough to install scripts and get them looking how i want them to.

I'm trying to install Gallery 1.2.5, unfortunatly my new virtual host runs PHP in safe mode which renders the script useless, after reading their FAQ I found that i can run PHP as CGI and place the script in there.

Now I have a problem I cannot compile this on the server as i don't have the permissions or access to do so, is there anywher i can get a pre-compiled version of php.cgi with newbie type instructions?

View Replies !
Running Php On Apache
I just installed apache 1.3.11 and php3 on my linux (red hat) system. Both files were rpm. My server works but when I load a php3 file netscape displays the source of the
file in stead of the results. Whats wrong with my server? How can I configure my server so php3 files are interpreted correctly? I don't know very much about linux.

View Replies !
Which Apache Is Running?
My server is stopped all of sudden. I tried to start it. I am unable to start it as it have 2 instances of apache. Now my problem is to find the correct instance to start..

I tried "/etc/rc.d/init.d/httpd restart" its giving message its started but not working. Code:

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved