Can Only Get Apache To Work With Mod_Perl Or PHP4 Not Both
I am able to start Apache with mod_perl & php3 modules loaded ok. However if I attempt to load PHP4 as well the mod_perl routines abort and cause seg. faults. PHP3 & PHP4 work fine together, PHP4 has support for mysql & pdf built in.
View Complete Forum Thread with Replies
Related Forum Messages:
- Installing Mod_perl On Apache Win32
- PHP4 Does Not Work With MySQL 4.1.1 .... But Then What ?
- Possible For Sessions To Work Under PHP5 And Not Under PHP4.
- Install Php4.0.0 In Apache
- Php4.3.9 - Apache 2.0.55-mysql 4.0.16
- Dom And Excel Under Linux/apache/php4.04
- Win98, Apache & Php4.3 Installation
- Apache 2.0 W/PHP4; W/PHP5 Cohabitate
- Select Problem With Apache, Php4.3 And Jet 4.0 Via ODBC On Win 2k/xp
- Php4 With Apache On Macosx: Configuration Question
- Install Php4 And Php5 At The Same Time To Apache
- Installing Php4 And Php5 On Same Apache Server
- Global Variables, Apache, PHP4.4.1Win32, WinXP
- What Are The Pros/cons/issues For PHP4/PHP5 With Apache (either 1.3 Or 2).
- Mod_Perl Vs PHP In Memory
- Executing External Programs From PHP4 On Windows98 With Apache 1.3.14 For Win32
- How To Display Captcha Image In Php4.3.4,apache,mysql On Windows 2003
- Can't Get PHP To Work With Apache
- PHP 4.4.7 To Work With Apache 2.*
- Can't Get PHP To Work With Apache For Win32
- Can't Make Php To Work With Apache In Xp
- Getting Apache 2.0.40 And PHP 4.2.3 To Work On RedHat 7.3
- Apache 1.3.33 + PHP 5.0.4 + GD 2.0.26 Doesn´t Work
- Work With Apache For Win32
- Apache 2.0.54, Windows 2k, And 5.0.5 - Do The Work Together
- Will PHP And GNU Gettext Work Properly With Apache?
- FTP Doesn't Work - Windows / Apache
- Problems Getting To Work On Apache, Using WebServ
- Php Java Bridge Dont Work With Windows Xp And Apache 2.0.5
- Apache ErrorDocument / PHP Header() Interaction Does Not Work As Expected
- Configure Php (or Apache) To Work With Special Language Characters?
- (5.1.4) MSSQL Functions Do Not Work Through Apache (on Fedora Core 5)
- Unable To Get Sessions To Work Properly With The Combination Apache 2.0.49 / PHP 4.3.6 / Windows XP.
- PHP Seems To Work Half The Time, Phpinfo() Doesn't Work
- Set Php_admin_flag With Apache Env Var In Apache Config
- Php4
- PHP4 Ignored With IIS
- Re Php4.3.4
- PHP4 XML DOM
- GD2 And PHP4.4
- PHP4 And XML
- OOP In PHP4
- XML In Php4
- PHP4 Vs. PHP 5
- PHP3 And PHP4 Together
- PHP3 Or PHP4
- MSSQL With PHP4
- Does Anyone Use The PHP4 Dl() Function?
- PHP4 And SSL And Raven
- Session In Php4
- Setting Up PHP4
- PHP4 Beta
PHP4 Does Not Work With MySQL 4.1.1 .... But Then What ?
I understand, that PHP4 has a MySQL client built in. I was warned, that this client does not support the MySQL 4.1.1 system, which I installed on my RH9 box end that I need to install that version myself in PHP4. Now how do I install that MySQL client in my PHP4 ? Or is is easier/smarter to use another MySQL version, one that IS supported directly by PHP4 ?
View Replies !
Possible For Sessions To Work Under PHP5 And Not Under PHP4.
I'm writing an web application with PHP/MySQL. I used PHP5 but believed to use code that would work also under PHP4. However when I tried my application under PHP4 I got the warning that the headers are already sent and my session did not work. I do understand that I have to send the headers before anything else. But does anyone know what kind of difference between PHP4 and PHP5 makes it possible for sessions to work under PHP5 and not under PHP4.
View Replies !
Php4.3.9 - Apache 2.0.55-mysql 4.0.16
Can php 4.3.9 work with apache 2.0.55 and mysql 4.0.16? I installed mysql 4.0.16 rpm first on Red Hat 9. Then, I downloaded apache 2.0.55 source code and installed it on Red Hat 9 as: ../configure --prefix=/usr/local/apache --enable-so No problem at all.I can start apache. Then I downloaded php 4.3.9 source code and installed as: ../configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql Unfortunately, the make gives me this error ..... ext/ctype/ctype.lo: file not recoganized, file truncated collect2: ld returned 1 exit status make *** [libphp4.la] Error 1
View Replies !
Dom And Excel Under Linux/apache/php4.04
I'm wondering if there is a way for me to create an excel document and fill it with the fields that have been provided to me by the user using a form ? can it be done using dom even if I don't use windows/iis ? I guess that under NT/IIS that whould be possible but I don't use NT/IIS I want to do this using Apache/PHP/Linux. If not, then do you think that I could do this: -create an empty excel document under windows -copy it on linux -now from linux/apache/php, every time instead of creating a new one I copy the empty excel doc to a new doc ex: empty.xls to form.xls -create the sells I need, populate the excel doc and send it via mail ?
View Replies !
Win98, Apache & Php4.3 Installation
I tried to install php as apache module. Previously it has been cgi. WIn 98 is not supported but cgi worked fine, anyway. I tried to everything according to instructions in php.net, but still it didn't work. - I put php4ts.dll to windows/system32 directory. - I configured http.conf: - I used the path where I had put php download (PHP 4.3.3 zip package [6,180Kb]). - I commented these three lines that were for the CGI-install: # ScriptAlias /php/ "c:/php/" # AddType application/x-httpd-php .php # Action application/x-httpd-php "/php/php.exe" But Apache didn't start. It died because of this line: LoadModule php4_module "c:/HERE_WAS_MYPATH/sapi/php4apache2.dll" http://fi2.php.net/manual/en/install.apache2.php If you would like to use PHP as a module in Apache 2.0, be sure to move php4ts.dll for PHP 4, or php5ts.dll for PHP 5, to winnt/system32 (for Windows NT/2000) or windows/system32 (for Windows XP), overwriting any older file. You need to insert these two lines to your Apache httpd.conf configuration file to set up the PHP-Module for Apache 2.0: Example 3-8. PHP and Apache 2.0 as Module ; For PHP 4 do something like this: LoadModule php4_module "c:/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php ; For PHP 5 do something like this: LoadModule php5_module "c:/php/sapi/php5apache2.dll" AddType application/x-httpd-php .php Note: Remember to substitute the c:/php/ for your actual path to PHP in the above examples. Take care to use either php4apache2.dll or php5apache2.dll in your LoadModule directive and notphp4apache.dll or php5apache.dll as the latter ones are designed to run with Apache 1.3.x. Warning Don't mix up your installation with dll files from different PHP versions . You have the only choice to use the dll's and extensions that ship with your downloaded PHP version.
View Replies !
Apache 2.0 W/PHP4; W/PHP5 Cohabitate
Apache 2.0 is currently installed to support an application using PHP4. I do not have PHP4 development environment installed. I want to install PHP5 for a learning session. The httd.conf file in Apache has the following entry: LoadModule php4_module "C:/Program Files/ktdms/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php PHPIniDir "C:/Program Files/ktdms/php" <Directory "C:/Program Files/ktdms/knowledgeTree"> The install process for PHP5 application instructs the following insertion in httd.conf: # For PHP 5 do something like this: LoadModule php5_module "c:/php/php5apache2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php" Will this work without conflict? Can I install PHP5 development environment using Apache 2.0 while another application is using Apache 2.0 with PHP4?
View Replies !
Select Problem With Apache, Php4.3 And Jet 4.0 Via ODBC On Win 2k/xp
I have done some bizarre things with PHP, but now I am involved in re-writing an application (from ASP.NET). The database however I can't change so easily as there are other dependancies, and it's JET 4.0 This is the table. TableRowID - AutoNumber UCID - Text TransactionTime - Date/Time etc... I have having trouble with getting any information out of it though...! I can complete the following: $db_resource = new accessDB(); $db_resource->host=$dbDSN; $db_resource->username=$dbUsername; $db_resource->open($dbPassword); // build option list based on the field names in the table. Query is run to just get the fieldnames $query='SELECT * FROM TransTable' $db_resource->query($query); $db_resource->get_field_names(); and although the fieldnames are returned through my function, if I try to extract the data from the query none is there... if I add a where statement I get an error which I can't resolve: SELECT * FROM TransTable WHERE ((TransactionTime>="2005-12-16 16:00:01") AND (TransactionTime<="2005-12-21 16:00:00")) ORDER BY TableRowID Warning: odbc_exec(): SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2., SQL state 07001 in SQLExecDirect in c:apache groupapachehtdocswmmcdb_access_class.inc on line 58 ideas?
View Replies !
Php4 With Apache On Macosx: Configuration Question
I have MacOS X 10.3 (not the server edition), which includes apache and php4. But php hasn't been compiled --with-gd, and I need it, so I downloaded the source (4.3.4) and configured it with options '--with-zlib-dir=/usr/local' '--with-libjpeg=/sw' '--with-libtiff=/sw' '--with-libpng' '--with-png-dir=/sw' '--with-gd' '--with-mysql=/usr/local/mysql' '--with-xml' '--with-dom=/sw' '--enable-cli'. After make && make install, I've got my new php in /usr/local/bin, which I can use from the CLI. But how do I get apache to use this version of php instead of the one bundled with MacOS? I guess (though I don't know anything much about httpd.conf) that I should put something like LoadModule php4_module /path/to/new/libphp4.so in httpd.conf but I can't find any libphp4.so anywhere (apart from the old one in /usr/libexec).
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 !
Global Variables, Apache, PHP4.4.1Win32, WinXP
How do I get a function to see a global variable without employing a parameter list? The source code: <html><head> <title>Simple Global Variable / Function Test</title> <?php $counter_file = "counter.txt"; // global variable //quickquote function function qq($sQuoteMe, $sQuoteChar) { return("$sQuoteChar$sQuoteMe$sQuoteChar"); } function updatecount() { echo('<p>$counter_file = ' . "$counter_file</p> "); } ?> </head> <body><?php echo('<p>$counter_file = ' . qq($counter_file, """) . "</p> "); // echo('Hits: ' . qq("qq test", '"')); echo('<p>Hits: ' . qq(updatecount(), """) . "</p> "); ?></body></html> ... echos the following HTML to the browser ... <html><head> <title>Simple Global Variable / Function Test</title> </head> <body><p>$counter_file = "counter.txt"</p> <p>Hits: ""</p> </body></html>
View Replies !
Mod_Perl Vs PHP In Memory
I tried mod_perl. It is too troublesome. Many old scripts stopped running. Even those running eat memory like crazy. I wonder why mod_php does not have the problems in mod_perl, such as memory hog, varible initialization etc. Is there a way to use Perl scripts at the same speed of PHP without worrying about those clearing varibles etc in mod_perl.
View Replies !
Executing External Programs From PHP4 On Windows98 With Apache 1.3.14 For Win32
I did a search, and did not find anything specific on this topic, so here goes: Trying to create a webpage button or link that when pressed executes Win98's "dialer.exe" with a phonenumber as a passed parameter. From my understanding, the exec function in PHP seems to work best with Linux (correct me if I am wrong please!). Are there alternatives? The other bit of knowledge I have not been able to find (and really is outside this forum), is that dialer.exe is supposed to accept control from external programs, but I have yet to find docs or examples of such.
View Replies !
Can't Get PHP To Work With Apache
I've having a problem getting PHP to work with Apache. I've just installed Apache and on a Fedora core3 system. The installs were pretty painless, just as expected. Then I pointed to a simple web site with a simple PHP script. But I only get a listing of the files in the directory that contains the website, it never executes the PHP script. Typically, when I see this sort of problem, I'd say "read the docs". I've been over the PHP tutorial, the PHP manual. Also been through the Apache FAQ and several sites dealing with bugs. They all pretty much say: PHP will just work. Alas, it's just not. Here are the details: Fedora core 3, Apache 2.0.54, PHP 4.4.0, Firefox browser I checked the httpd.conf, and Apache is finding the PHP module where it expects it, and is loading it. And the footer of the brower says Apache /2.0.54 (Unix)DAV/2 PHP/4.4.0 Server at 127.0.0.1 Port 80 And the browser can display static html just fine. The file editor in the browser knows the .php file is a PHP script, and I tried some pretty simle scripts, like "hello world" and phpinfo(). And the PHP files work on my ISP. I set the httpd.conf error log to "debug" and have check the error_log, and access_log. I'm not getting any 404's, or any other errors about not being able to read or access files. It looks like Apache just won't interpret the .php files as scripts.
View Replies !
PHP 4.4.7 To Work With Apache 2.*
this is my first 30 mins installing php the part for apache 2.* is done and working but when I try if the php page is working by placing a code like <?php phpinfo();?> just to try if its working it just display "<?php phpinfo();?>" on the page .
View Replies !
Can't Get PHP To Work With Apache For Win32
the strange thing is that there is no php4apache.dll file supplied in the downloaded PHP package. I even search my complete disk. Strange because I downloaded PHP v4.3.7 from PHP.NET a couple of months ago, and it has been working OK with the Abyss webserver since then.
View Replies !
Can't Make Php To Work With Apache In Xp
I have recently installed php, mysql and apache on xp. Apache worked fine right from the start - so did mysql also. php on the other hand does not work at all. doing the phpinfo thing or just an echo only returns a blank page. Something tells me that configuring php is quite a pain in the a**. I've done everything from editing the httpd file and the php.ini file, to copying it and the php5ts.dll file to the systems folder. I've even tried both methods for installing: module and cgi based. Any help is appreciated. BTW I've also searched the net rigorously and done all of the recommended things - none worked for me though.
View Replies !
Getting Apache 2.0.40 And PHP 4.2.3 To Work On RedHat 7.3
We've been at it for a day now, trying to get PHP 4.2.3 to work correctly with Apache 2.0.40 in our dev environment. We successfully got it working on another server, but now we can't seem to get it to work again. anyone out there get these versions working together on Linux? We're trying to load PHP as a module in apache. what happens is that when we try our test .php file <?php phpinfo():?> apache2 tried to download the file instead of displaying it. we've added the following line to httpd.conf LoadModule php4_module modules/libphp4.so
View Replies !
Apache 1.3.33 + PHP 5.0.4 + GD 2.0.26 Doesn´t Work
I have installed php 5 and apache with these options: ./configure --with-mysql --with-apache=../apache-1.3.33 --with-jpeg-dir="/usr" --with-png-dir="/usr" --with-zlib-dir --with-gd="/usr" --enable-gd-native-ttf --with-freetype-dir="/usr" Every looks like fine. But I have a barcode program that it still don´t work. Any ideas?
View Replies !
Work With Apache For Win32
I have the Abyss webserver installed on my Windows 2000 workstation, and it works OK with PHP (v4.3.7). Since I also have a Linux server at an other location, I wanted to have similiar web server setup at home, so I tried to install Apache webserver for Win32 (v1.3.33), but can't get it to work with PHP. My PHP.INI has the, ; Enable the PHP scripting language engine under Apache. engine = On There's nothing about PHP inside the httpd.conf file. Have I missed something here?
View Replies !
Will PHP And GNU Gettext Work Properly With Apache?
Can someone point me to a definitive source for the answers to the following two questions: 1) In an environment with Redhat Linux 2.4.21-27.0.1, Apache 1.3.31, PHP 4.3.10, and GNU gettext 0.14.1, will using PHP's gettext support along with the GNU gettext utilities work properly? For example, I've seen references to the translated strings in .mo files not always being what appears on webpages, presumably due to the caching built into GNU gettext. 2) In December 2003, in the php.i18n newsgroup, in a posting titled "GNU gettext support for PHP programs",Bruno Haible said: - The just-released GNU gettext 0.13 has improved support for PHP programs - Unfortunately, GNU gettext is not yet ready for being used in a multithreaded environment where each thread may need to use a different locale/language. The README file in the hello-php directory for GNU gettext 0.14.1 says: ------------------------------------------------------------------ The gettext/PHP binding has a limitation: While it works fine for standalone PHP programs, it cannot be used inside a web server, to translate parts of web pages into the preferred encoding of user that makes a HTTP connection. The reason is that a web server usually is multithreaded, and the gettext() API relies on the process' global locale. ------------------------------------------------------------------ Do the above statements mean that using GNU gettext with PHP and Apapche 2.0 will not work? Does anyone know if there are plans to change GNU gettext to support multiple threads?
View Replies !
FTP Doesn't Work - Windows / Apache
I am stumped after trying to invoke a variety of FTP commands and getting nowhere. First off: I am using PHP 5.2.3 with Windows and Apache 2.2. I checked phpinfo and the following parameters apply: - allow_url_fopen is "on" - ftp support is "enabled" I have tried a range of scripts including those using the FTP extension and have also tried using filesystem commands and the FTP wrapper. Either way, I haven't been able to make a connection or retrieve any data ... either my browser hangs, or the server simply returns an empty page. I've begun to wonder if there's some parameter in my Apache httpd.ini file that is blocking connectvity. Any thoughts?
View Replies !
Problems Getting To Work On Apache, Using WebServ
I am trying to install Apache & PHP (& MySQL eventually, but I havent gotten that far) to make some dynamic web-sites. I dont know PHP or MySQL, and havent used Apache before. I cant seem to configure Apache to work with PHP. I have tried the following XAMP-didnt seem to do anything, so I uninstalled it Manually installing it based on instructions on this thread and on the Apache Lounge. Ive downloaded the VC++ thing from Windows Code:
View Replies !
Php Java Bridge Dont Work With Windows Xp And Apache 2.0.5
I have the java bridge library working fine on a windows 2000 and running apache 1.3 but cannot for whatever reason get it to work on windows xp and apache 2.0.5 Ive included the following in php.ini: [java] java.class.path = "c:PHPextJavaBridge.jar;" java.home = "c:SunAppServerjdkin" java.library.path = "c:PHPext" Ive installed j2ee 1.4 and jdk 5. I have installed the latest pecl package. The JavaBridge.jar and php_java.dll is in ext folder. I look in the apache error log file and always see this error: Unable to load dynamic library 'c:/php/extphp_java.dll' - The specified procedure could not be found. in Unknown on line 0 What is going on?
View Replies !
Configure Php (or Apache) To Work With Special Language Characters?
I'm building a site on a new install of CentOS with the default installations of apache and php. When I try to output text in spanish, my special characters (ie. ñ, ó, etc) are showing up as question marks. The guy in charge of the server recompiled php with mbstring module if that is what is required, but is there an additional setting i need in php.ini to enable/configure it? Am I even on the right track? I don't know if it's an apache thing or php, because the same thing happens whether I load the string from a text file in code before outputting it or if I just stick the string in a regular html file and browse to it. How can I have the site work with spanish characters without changing the default language settings of the site (it's primarily an english language website with support for other languages).
View Replies !
(5.1.4) MSSQL Functions Do Not Work Through Apache (on Fedora Core 5)
I'm trying to set up PHP with Microsoft SQL Server support on Fedora Core 5. I've tried using the FreeTDS libraries, and a connect with tsql works fine. I've a little test PHP file that simply connects to a SQL Server instance, executes a simple query and returns. If I run php -f /var/www/html/testSqlServer.php it works. (I've run it as root, a lesser user, and a very limited rights user) If I access the same file through the browser (i.e. through Apache), it fails giving this error message: Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: <the_server_ipin /var/www/html/testSqlServer.php on line 7 I've rebuilt PHP multiple times, redone this system, recompiled FreeTDS in multiple ways, recompiled PHP in multiple ways, tried yum installs, tried other sources (dries / remi), but I cannot figure out why this might be. Code:
View Replies !
Unable To Get Sessions To Work Properly With The Combination Apache 2.0.49 / PHP 4.3.6 / Windows XP.
I'm unable to get sessions to work properly with the combination Apache 2.0.49 / PHP 4.3.6 / Windows XP. The data is written to the correct place (according to php.ini), but they are not read in again on the next page. The following script illustrates the problem: <? session_start(); if (!isset($_SESSION['count'])) { $_SESSION['count'] = 0; } else { $_SESSION['count']++; } echo $_SESSION['count']; ?> Each time the page is reloaded, the output should increment by one, i.e. it should be: 0,1,2,..., and it indeed works this way on my laptop with Apache 1.3.29 / PHP 4.3.6 / Windows XP, but, alas, not with the newest Apache2.
View Replies !
PHP Seems To Work Half The Time, Phpinfo() Doesn't Work
I just updated from a phptriad installation of apache/php/mysql to manual installations of them, all the most current ones. When I installed apache and php, things were fine. phpinfo loaded. After I installed mysql, things started messing up. I can connect to mysql so that seemed to go fine. But phpinfo wouldn't list MySQL info. So, I noticed I had the path to PHP in my httpd.conf wrong, I fixed it, restarted and thats when it all started. I added the "php extension" line , enabled php_mysql.dll module, as well as putting libmysql.dll into my windows folder. Restarted the computer, and still problems. What happens exactly is, if I go to my phpinfo.php page which has a simple phpinfo(); line...it doesn't show anything. If I View Source, I actually see the php code in notepad. <? phpinfo(); ?>On other pages it prints some of the php code on screen. But on a few other pages, such as a page that creates and image via imagecreate()...it works.
View Replies !
Php4
I'm wanting to work with php4 and want to know which version of mysql to download that works great with php4 api version 3.23.x?
View Replies !
PHP4 Ignored With IIS
I am attempting to get PHP4 working with IIS but the php script is ignored. I installed Apache and it works with the Apache server so it is obviously a configuration error on my part but I can't find it. I have a test.php file that I run with each configuration.
View Replies !
Re Php4.3.4
Re previous problem Thanks to Alvaro, I solved the original problem on php version 4.3.4 However, I now have another one. I have an admin panel which requires a password to access it from a previous page. With the site live on an ISP server, everything is OK. On my local server running Apache and php 4.3.4, when the correct p/w is entered on the previous page, instead of going to the correct page (which consists of 2 frames, it simply reproduces the previous page in both frames. The script being used is: #-----REDIRECT AUTH USER---------- if($HTTP_SESSION_VARS['sessadmin']){ Header('Location:admin.index.php'); } #------AUTHENTICATE PASSWORD------- if($HTTP_POST_VARS['pass']){ if(crypt($HTTP_POST_VARS['pass'], $HTTP_POST_VARS['pass'])=='wiOgiun64DE9.'){ session_register('sessadmin'); $sessadmin='set' $done=1; } Because it works OK on an ISP, I assume it must be a setting in my local apache/php set up.
View Replies !
PHP4 XML DOM
Currently my web server supports only php4. I want to know how to parse the xml and get the element value using dom. I thought they have similar function for getting element by id or tag name, so far i haven't find anyting like that except fro PHP5 with Domdocument. $dom = domxml_open_file ('data.xml'); $e_data = $dom->document_element(); <?xml version="1.0"?> <book> <title>hhelo</title> </book>
View Replies !
GD2 And PHP4.4
It should be possible (as far as I know) to use createimagefromjpg('<urltoimage>'); In PHP4.3.11 it worked just fine, but now I use PHP4.4 and it is not working anymore! I only can do: createimagefromjpeg('blafoo.jpg') (=same dir) or createimagefromjpeg('d:/inetpub/vhosts/......../blafoo.jpg); This function is also used in a plugin (LightBox) for Nuclues and with Nucleus is isn't working also. Anybody a solution? (I *need* to load from url!).
View Replies !
PHP4 And XML
How can I pase this xml file using php. I am currently using xml_parse($xml_parser,file_get_contents($file)); but this get the php code and not the out putted xml. I can't get my head around how to parse the outputted xml using php Code:
View Replies !
XML In Php4
XML for data transfer between 2 servers. It's all working nicely - getting my "interface" object populated works like a charm - however, now that I wanted to test the application on the production server (PHP 4.4.4 - development server is 5.1), I of course, ran into a ton of issues due to php4's lack of XML support (compared to v5). After having tried multiple classes and trying to shimmy something together myself.
View Replies !
PHP4 Vs. PHP 5
I know PHP 5 is the newer (and presumably) better version, but I don't have any experience programming OOP. And I don't want to stumble learning PHP simply because I am struggling with OOP concepts. Yet at the same time, I'd rather learn a newer (more applicable) version, and I do hope to learn OOP programming some day soon.
View Replies !
PHP3 And PHP4 Together
I'm a little new to the PHP thing. I want to try to setup my server to handle PHP3 and PHP4 requests easily. e.g. I have some scripts that are PHP3 and want to start learning PHP4. Instead of doing the simple (like anything I do is simple URL ) thing, I am attempting to set up apache to support MySQL, PHP3, PHP4, SSL, ColdFusion, SteelBlue, and maybe even Frontpage. Tell me I'm insane. Now I have read the "Soothingly Seamless" setup from the website, and had it mostly working, until some unforseen circumstances caused me to have to start over. I can set up Apache to use PHP4, MySQL, and SSL, but for those PHP3 scripts, I am a bit lost. Finally, my question. Is there a simple way (using the Sootingly Seamless page as a reference) to add PHP3 into the mix. Any help on this would be great!
View Replies !
PHP3 Or PHP4
I am starting to write some scripts. Now should I wait until PHP4 documentation and tutorials arise and write in PHP4, or should I just do everything in PHP3? I have a book on PHP3 and I want to know if the language has changed enough to make this book invalid. Thanks. Any clear input is appreciated.
View Replies !
MSSQL With PHP4
I am using win98 and SQL7.0,, the problem is when i try to connect to the database using the next query : <?php $username = "bla"; $password = "bla"; $database = "bla"; $conn = mssql_connect($server, $user, $pass); $select = mssql_select_db($database, $conn); $sql = "SELECT * FROM "; $result = mssql_query($sql, $conn); ?> it gives me the next error message : Fatal error: Call to undefined function: mssql_connect() in C:Inetpubwwwrootphptestmain2.php on line 6
View Replies !
PHP4 And SSL And Raven
1) - Has anyone had intermittent "Page Not Found" or "Page Cannot Be Displayed" errors when using PHP4 over a secure connection. It's not our programming because we get the error when using phpmyadmin over SSL. Phpmyadmin is an open source utility which was programmed by someone else. We are using a RaQ4 Cobalt box running Linux, hosted with Aspre (aspre.net). Our ISP says some other customers have complained about a similar problem but they have no solutions. 2)- We talked with another dedicated server provider (Adgrafix, adgrafix.com) and they said that we would have to install "Raven" to make PHP work over SSL. Has anyone heard of Raven? Is it necessary?
View Replies !
Session In Php4
I have tested a couple functions, they work fine, but when I try the session_start() function, it just hang the browser for a long time and at the end, return me a message saying that the page is not found. Is there some configuration I have to make before I can use session-related function? or what else I should do?
View Replies !
Setting Up PHP4
I have set up PWS and PHP4 on my Windows98 computer but I am still unable to see php coding in .php files in IE. Yes I have put them in the right dir. I think the problem was that I was unable to put the file msvcrt.dll in my C:WINDOWSSYSTEM folder. When ever I try to copy that file into C:WINDOWSSYSTEM I get an error message that says "Cannot creat or replace msvcrt: The specified file is being used by Windows." Whats going on here?
View Replies !
PHP4 Beta
i installed PHP4b2 for NT4/IIS but the PHPpages just won't show - HTTP error 500. how do i troubleshoot this? I have installed the php isapi filter and also *.php is associated with the above filter as per the installation notes. The normal htm pages are OK.
View Replies !
|