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 Complete Forum Thread with Replies
Related Forum Messages:
- Installing And Running Apache 2.0.46 / Php5.0.0b1 / Suse Linux 8.2
- Install PHP5 And Apache 2.2.2 (Linux)
- How To Install PHP4 And PHP5 (linux Fedora4) ?
- Running PHP 4 And PHP 5 Together As Modules, Linux, Apache 1.3.x
- Can't Link Gd Library To 4.3.4 Running On Apache And Linux.
- Install PHP5, Apache 2.2 And IIS
- Install Php4 And Php5 At The Same Time To Apache
- Running PHP/Apache On A User Mode Linux Machine, Where To Stick Mysql?
- How To Add A New User In A Linux Operative System Using Apache
- Apache Conf To Make The PHP's System Command Works On Linux.
- Suse Linux
- Mail :: Suse Linux 9.3
- PhP Can't Write Or Open Files In Suse Linux
- Problem Installing PHP5 On SuSE 8.2
- Trying To Build PHP 4.3.0 With Apache 2.2.2 On SUSE 9.1
- Cannot Find MySQL Header Files Under - Compiling PHP5 (Suse 9.0)
- Apache 1.3.27, PHP 4, SuSE 8.2 PRO - Form-Post Failure
- Warning: Invalid Argument Supplied For Foreach() Running On A OS X Machine Running Apache 1.x And PHP 4.x.
- "failed To Open Stream No Such Directory Or File" Apache Suse 10.0
- How Can I Install 5 When 4 Is Running In One
- Running GD Externally To PHP On Linux?
- Need Help To Install SSL On Linux Machine
- Failed To Install Php CMS On Linux
- How 2 Install MySQL And PHP3 On Linux 6.1
- Install Wordpress On Linux Fedora 6
- PHP5 Install
- Install PHP5 &
- Install Php4 & Php5
- Anyone Know How To Configure Php5 On Debian Linux?
- INSTALL: Bz2 Support For Php5 On Debian
- Pear Install ?, WinXP, Php5.2
- Service Unavailable On New Install Of PHP5 And IIS6
- Install PHP5 On My SuSE10 With Apache2.2 And MySQL5.
- PHP Not Available On Apache (Linux)
- Apache, Php And Linux
- Running PHP As CGI On Apache
- Running Php On Apache
- Which Apache Is Running?
- Apache And Tux Running Together
- A Small Problem In Running PHP4 Under PHP5 - $row[fieldname]
- Running PHP System()
- PHP Install With Apache
- Cannot Install Apache
- Install Apache
- Apache Install
- Php From Windows To Linux/Apache
- PHP 5.1.6 And SOAP And Apache On Linux
- Is PHP The Best Language On Linux With Apache?
- PHP, Apache (Linux), And Modules
- Questions Regarding Linux/Apache
- Set Php Up On Apache Running On Windows.
- Running PHP 4 And PHP 5 Together As Modules, Same Apache
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 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 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 !
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, Apache 2.2 And IIS
The book that I have talks you through the setup of both Apache and PHP. I allready have IIS installed. when I go to localhost:8080 I get an unable to find page come up. I have checked the error log and I get the following; [Wed Jan 31 13:28:58 2007] [error] [client 127.0.0.1] File does not exist: C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico I have checked for the file on my system and it is indeed not there. But surely not having a favicon is not a reason to shut it down?? If so I have downoloaded the latest full packages today, so seems a little strange that it is missing.
View Replies !
Install Php4 And Php5 At The Same Time To Apache
Here is some note about installation together php4 and php5 on apache2. First you need is to edit with the help of hex editor php4apache2.dll (in my case, or php5apache2.dll) in php4 directory. You find "x-httpd-php" and replace with "x-httpd-plc" e.g. (I found 2 matches) Save your dll file and edit your apache config (httpd.conf) e.g. like: Code:
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 !
Apache Conf To Make The PHP's System Command Works On Linux.
I've got a big problem to make my code works. My system() command don't seems to work. for that code : $res = system($command); echo"res = $res<br>"; the result is "res = " and the command is not executed. I feel that it come from my Apache configuration. However my safe_mode_exec_dir is pointing on the dir of my exec code. My OS is Unix.
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 !
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 !
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 !
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 !
Failed To Install Php CMS On Linux
I got Apache/php/mysql installed on my Redhat9 linux platform. I got the similar error message when i intended to instal:l phpNuke & Mombo CMS on this linux box. I got osCommerce installed and looked running quite well. Hence, I,m not sure if it's related to php as I'm newbie to php. Could someone help to advise if I missed to do something in the config file to make it works. Error messages are: Warning: Failed opening'language/lang-.php'for inclusion(include_path='.:/usr/share/pear')in /usr/www/html/mainfile.php on line 172. Warning: Failed opening.....(similar but on other line..).
View Replies !
How 2 Install MySQL And PHP3 On Linux 6.1
im a php + SQL newbie and i would like to know if anyone knows of any site that has good instructions on how to install/configure MySQL and PHP3 on a linux 6.1 box running Apache...my backgroung is windowsNT and 98 so please note the "good" on top im trying to make the transaction from windows to linux.
View Replies !
Install Wordpress On Linux Fedora 6
I'm trying to install wordpress on Linux Fedora 6 but it gives me this error everytime: Your PHP installation appears to be missing the MySQL which is required for WordPress I know for sure that its installed because I'm using phpmyadmin 2.11 and its working fine, and also I've install mediawiki and its working fine too. This problem happened also with drupal. I'm not sure why some web apps work fine and others give this error.
View Replies !
PHP5 Install
I am trying to install PHP5 with MYSQL support but the configure fails. It gives me the following error. "configure: error: Cannot find MySQL header files under yes. Note that the MySQL client library is not bundled anymore!". Here is the configure options I gave it: ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --with-zlib-dir=/usr/lib/mysql/libmysqlmysqlclient.so --with-pgsql=/usr/local/pgsql My srever: OS: SUSE 10 PHP: 5.1.1 MYSQL: 4.1.13 Apache: 2.2.0 What am I missing?
View Replies !
Install PHP5 &
I have installed Apache 2.2.2. When i was looking through all the installation manuals for PHP, they were outdated and their instructions differed among the different version of PHP. kind to write down the installation steps for PHP 5.1.4 for window XP. Or direct me to any links that have that, that will be great. I have been searching for such tutorials on that over many places but can only find ones for MAC.
View Replies !
Install Php4 & Php5
Wanted to install php5 as well as php4 in a single system is this possible..Windows XP Please let me know and one more thing can u send me some easy and good link to install php 4 and php5 in windows XP environment.
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 !
INSTALL: Bz2 Support For Php5 On Debian
Has anyone had problems getting bz2 support compiled into php-5.0.4 on a debian server? bzip2 & bunzip2 are located in /usr/bin & I am using --with-bz2=/usr However, I keep getting the following on ./configure: checking for BZip2 support... yes checking for BZip2 in default path... not found configure: error: Please reinstall the BZip2 distribution I've done an apt-get --reinstall bzip2, but I still get the same messages.
View Replies !
Pear Install ?, WinXP, Php5.2
only got "pear.old_bat" I had a previous post ".. Upgrade Methods ..." and so far I've gotten around most thorny issues, including patching php5.1.4 with php5apache2_2.dll so I can run it as module with Apache2.2.3 I need a educated response from a PEAR developer, if possible My 1st run go-pear died because I exceeded "maximum execution time" while researching the 1st ? ? system | local ? I didn't have adequate understanding to answer, but guessed system. It looks like PEAR got installed just fine, but I didn't end up with a "pear.bat", I just had "pear.old_bat". I'll probably rename and begin to use this, I just wondered what changes are made to file during install process, changes and obvious backup. Maybe I'll need to modify slightly; If so how ??
View Replies !
Service Unavailable On New Install Of PHP5 And IIS6
I just followed the instructions on the manual install of PHP5 on to a Windows IIs6 box using ISAPI not CGI. At first I had problems with getting a username/password box when trying to access a php file through a web browser, now i've got that cleared up by adding the username to the php and inpub directories. Now when i go to the page with the browser I get "Service Unavailable" I've searched Google, and this board and can't find any help yet. Any ideas?
View Replies !
Install PHP5 On My SuSE10 With Apache2.2 And MySQL5.
I'm trying to install PHP5 on my SuSE10 with Apache2.2 and MySQL5. when I try to make php it exits with this message: Code: # ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql/ --with-mysql-sock=/usr/local/mysql/tmp/mysql.sock /usr/local/php-4.4.2/ext/mysql/php_mysql.c:1163: undefined reference to `mysql_create_db' ext/mysql/php_mysql.lo: In function `zif_mysql_drop_db': /usr/local/php-4.4.2/ext/mysql/php_mysql.c:1205: undefined reference to `mysql_drop_db' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1
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 !
Apache And Tux Running Together
I'm wondering if anyone has tried a scenario that I'm thinking of. At my job we've got a web based product provided by Apache running PHP that accesses MySQL. This web application is hosted by multiple servers behind a load balancer because of the user load on the system. However, we've still had times when the servers got over run and Apache maxes out on the number of httpd processes (257) and falls behind to the point of timing out. When this happens and I look at the servers with top, they aren't particulary busy, but with 257 big httpd process (PHP and MySQL totalling 15 Megs of ram), the server is bound up. Code:
View Replies !
A Small Problem In Running PHP4 Under PHP5 - $row[fieldname]
I have just upgraded my php version form php4 to php5. and I met this problem, and don't know if you know the solution. My site was written in PHP4, and most parts can be running smoothly in PHP5, only that in old version, I can use $row[fieldname] to access the data in database directly, no need to put double quote around fieldname. BUT in PHP5, this is wrong, I got error message "undefined constant". I know this is because PHP5 see the fieldname without double quote as constant instead of name of field. I know the slowest solution is to add double quotes one by one, but this will take a lot time. So are there any solution to change configuration in php.ini and let PHP5 accept this kind of usage just like that in PHP4?
View Replies !
Running PHP System()
How can I run a PHP system()/exec() command with root privileges? As stated in my earlier posts, I would like to run the following in php file: [code] <?php $output = shell_exec('lsof -i :<port_no>); echo $output; ?> [code] running as http://<mysite.com>/phptest.php doese not allow me to execute this command which requires root access.. Can I run some command that will provide root privelegs to the user httpd ?? Code would be something like: [code] <?php exec('set root priveleges'); // may be sudo $output = shell_exec('lsof -i :<port_no>); echo $output; ?> [code]
View Replies !
PHP Install With Apache
I tried to install PHP 4.0.0 and then PHP-3.0.16 but failed both the times. I am working on i386/ Caldera Linux 2.2.14 My apache server (1.3.11) is working alright. I tried both the rpm and gz install packages. Here's what I did: # gunzip -c php-4.0.x.tar.gz | tar xf - # cd php-4.0.x #./configure --with-mysql-with-xml--with-apache=../apache-1.3.11--enable-track-vars how to install php4.0 or 3.0 to work with Apache and MySql?
View Replies !
Cannot Install Apache
I downloaded and installed apache_2.0.54-win32-x86-no_ssl.msi By running binApache -k install I receive th following message: <OS 10048>Normalerweise darf jede Socketadresse <Protokoll, Netzwerkadresse oder Anschluss> nur jeweils einmal verwendet werden. : make_sock could not bind to no listening sockets available, shutting down Unable to open logs
View Replies !
Install Apache
I have Apache HTTP Server 2.0.53 and PHP 4.3.10 programs and I want to install it on my computer so I can view .php pages offline (I don't have ADSL)? I tried myself but it doesn't work. Manual is complicated.
View Replies !
Apache Install
im using windows xp and im tryng to install apache/php/mysql when i installed apache i got this error: no installed service "apache2" What does this mean? i tried to look at the service but i dont see anything apache2?? This occured when i tried to start the apache. MY installation was very sucessfull and also what does this error means cannot make socket on 0.0.0.0 And forgive me for being so dumb in this apache /php after i installed the apache what are the things that i need to configure in httpd.conf to work in php?
View Replies !
PHP 5.1.6 And SOAP And Apache On Linux
I thought I could just use the --enable-soap when I configure php, but that does not seem to work. I was looking for it to create a php_soap.so but i dont see it. I get this when I try and access the page: Fatal error: Class 'soapclient' not found in /home/as411161/apache/htdocs/index4.php on line 3 If I run php from a command line, things work fine.
View Replies !
Is PHP The Best Language On Linux With Apache?
I am about to use server side technology with our new server (I want to begin using dynamic pages). These are the details: Apache Web Server 1.4 on Linux Red Hat 7.1 PHP 4.06 Perl 5.6 SSL MySQL 3.23 Could you tell me what is the best server side language to use for dynamic pages? I know PHP is becoming very popular. But I am from an ASP and JSP background. I could set up the server to use JSP and servlets etc but is there much point if PHP and Perl are installed? I've heard these are good and fast!
View Replies !
PHP, Apache (Linux), And Modules
I plan on installing PHP and Apache on a Linux box. (Plan on doing it with binaries that come with Linux distro.) One thing I'm confused about is how PHP is run as a module. I'm not that familiar with this stuff, and I would have thought that there's something called mod_php that needs installing. But I can't find much reference to anything like that anywhere. (Want to install as little stuff as possible.)
View Replies !
Questions Regarding Linux/Apache
I have always written code for Win32 based servers, however, at my office, I have been tasked with ensuring more secure controls over our internal web servers, and as such, I think going with a *NIX solution is the best option, so here's what I've done. Code:
View Replies !
Running PHP 4 And PHP 5 Together As Modules, Same Apache
I work for a web provider and we would really like to start allowing people to experiment with php 5 on their websites without forcing an overall upgrade and potential code problems. Did some extensive searches and have seen ideas about running php 5 via cgi or using mod_proxy so that if folks access their site as php5.sitename.com -- we pass it through to an apache server configured for php5. Code:
View Replies !
|