I am primarily a Cold-Fusion developer and am looking for a way to create GIF images on the fly.. I have installed php-4.0.6-Win32 and enabled php_gd.dll but I find no GIF support.. I need to make a series of gif images. I will pass two strings one for the maroon underline the other for the black text the image width has to be 160 pix and the height dynamic based on how many lines of text you end up with.
I'm trying to get some different extensions loaded and no matter what extension I try it always comes up with an error saying it could not find the module. Even though the pathname is correct. I have php loaded in c:php4 and the extensions c:php4extensions
; Directory in which the loadable extensions (modules) reside. extension_dir = "C:/php4/extenstions/"
I have a Windows XP system with iis 5.1 seems that my iis 5.1 is not listed during the installation of the downloaded php-5.2.0-win32-installer.msi , Lots of others, but not 5.1. What is the best way to get php working on iis 5.1.
I have Apache installed on Win2K, and can't get it to work. I've tried countless tutorials utilizing Apache configuration settings, as well as .htaccess, and can't get it working. Typically, I get 404 errors which would indicate to me that it is looking for the literal path, instead of using the rules I have set up.
I'm trying to stage up a our salesman's Windows 98 laptop to be used for demonstrating our php/mysql products. I've got Apache, php3, and mysql all working except the file upload is giving me the following Warning message:
Warning: Unable to open d:tempphpphp2 in d:/apache/apache/htdocs/ulimg.phtml on line 28
The tempphp directory exists and it is also explicitly specified in the php.ini file.
I'm writing a script that will automatically resize uploaded images into Thumbnails. I'm running Apache with PHP on Windows 2000 and I have enabled the GD extension in the PHP.ini.
My code works fine for JPEG but for GIFs it claims that GIFs are not supported in the build I'm using. GIF is not listed as enabled under the GD section of phpinfo();. How do I enable GIF support on the Win32 PHP version of the GD library (php_gd.dll)?
I'm running PHP 4.3.2 with Apache 2.0.46 on Windows XP Home. Intel P4 1.5GHz chip with plenty of memory.
I'm trying to enable DOM XML functions in PHP and having a bit of trouble. Per the PHP manual's instructions, I've done the following:
1. Edited my php.ini file like so: [snip] ;Windows Extensions [snip] ;extension=php_gettext.dll ;extension=php_hyperwave.dll extension=php_iconv.dll <-- removed the ; ;extension=php_ifx.dll ;extension=php_iisfunc.dll
2. Installed iconv.dll (ver. 1.9.1.win32 downloaded from http://www.zlatkovic.com/libxml.en.html) in C:WindowsSYSTEM32
3. Restarted Apache
I created a test PHP file with the following code:
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.
I have tried to install ImageMagick on my server, but my apache stalls when i try to start it with the following line added to my php.ini file:
I can't even kill the apache procees when I try to run it with this option added, so I have to restart the entire server each time I have to return to the original setting of php.ini
I have installed ImageMagick on my server, downloaded from http://www.imagemagick.org/ and the php api for it from http://kromann.info/pecl.php (rediredted from) http://pecl.php.net.
According to the 'kromann' page I must install another dll as well for the extension to work, and I have placed this dll in the dll directery under php along with the 'php_imagick.dll', but the result is the same.
I have also tried copying the dll's to the root of the php installation, the winNT root and the winNT/system32 folder, but the result is the same.
I am attempting to fork a socket script in a windows enviroment and am running into a serious problem. As you may know pcntl is not available in windows. I have thought about using ticks but that would not realy fork the script. I also thought about using an exec function but that will only run the script in the background.
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?
I performed binary installs of Net-SNMP and PHP 4.4.4 on my Windows XP laptop so that I can do some offline development/testing away from my Linux server. Anyway, I attempted to do some SNMPv3 gets/sets and I am greeted with "Encryption support not enabled" whenever I try and do any SNMPv3 call.
I thought it was Net-SNMP, so I did some googling and found that you need to compile Net-SNMP from scrtach with OpenSSL support to get SNMPv3 to work. I did, and I am now able to do SNMPv3 gets with Net-SNMP. However, I cannot execute snmp3_get() from any of my PHP scripts, I get the above encryption message.
I ran phpinfo() on my XP machine and on my linux server and the SNMP section is quite different, my XP machine has support for "ucd-snmp-4.2.3" and my linux server has support for "Net-SNMP-5.1.2"
Are there updated versions of php_snmp.dll for a Windows install of PHP? If so, where can I get them and are they compatible with PHP 4?
Does anyone have a problem with Apache2 crashing after executing a PHP script with session_start()? I notice if session_start() is placed anywhere except at the start of the file, APache will crash. Can anyone explain to me why? I don't want session_start to be at the start of the file because I need to override some session methods. So session_start has to happen after the declaration of custom session methods.
i've just recently reinstalled windows, and i'm having a very bad problem with apache (win32) + mysql + php.
For starters i installed everything like normal.
Apache v. 2.0.50 PHP v. 4.3.8 Mysql 4.1.4Gamma
I then installed phpmyadmin, i noticed it was having a problem connecting to the database, citing an incompatible/outdated client. I looked up some infos in the documentation and it told me to check the version of the php api by calling phpinfo();
Client API version 3.23.49
Why is it only 3.x? Shouldn't it be 4.xx.xx? Is this the reason phpmyadmin won't work? How do i fix this?
btw i've deleted all occurances of libmysql.dll and still have the same issue.
I have a intranet website on one of our windows machines that runs apache 2.0 and php5. In the browser, for one particular link on the site, I want to run a win32 command line program on the client windows machine, (if the program is there). This command line utility returns a string to standard output. I want to capture the string and return it to the server and then process it in some php (compare it to existing records in a mysql database. and write it if new).
Once I have the string in php I can handle it from there. I know this isn't strictly a php question, but I hoped someone could give me pointers as to what techiques I might need to use so I can investigate further, or suggest a more suitable forum for this problem ?
With the config mentioned in the topic, all on localhost, Win xpsp2, i created a caledar-table. The output should be a daily calendar for half a year with about 15 cols. So everything works fine on the console, output is as it should be. But when calling the script via apache, the table is either truncated or it comes twice or three times or i get an 404-Error with the table appended.
I want to use APC for php for storing and fetching values (function calls and return values) between a endless running php process and multiple client processes. The endless running process constantly checks for newly stored values. I am running php as a Apache module on WinXP. For each APC function call a apc.lock.* file is placed in the windows temp directory. My harddisk runs overtime. Is there an other locking mechanisme that can be used (or disable locking) in for APC?
get the libxml DOM extensions installed PHP uses the Gnome XML library which is developed by [URL] For Windows 32 platforms, the maintainer is Igor Zlatkovic.You can obtain the Windows 32 binaries here:[URL] Download the libxml and iconv distributions Copy iconv.dll and lib2xml.dll in the windowssystem32 directory Open up the php.ini file located in the windows directory Remove the semicolon to enable:
I am very, very new to PHP. I have managed to get 'Hello World' and phpinfo to run (XP Pro, Apache, php 5) but I would appreciate the ability to debug my way through a script. I have down-loaded NuSphere-phped-5.0.1evl-Win32. exe and php_editor_php5.exe and I am pretty confused as they seem to be (almost)...
I've upgraded to PHP5 from PHP4 on a Win2K3 Server and now I can't use the MySQL databases.
I checked the documentation, to discover that MySQL libraries are no longer bundled with PHP. So I've uncommented the 'extension=php_mysql.dll' and copied libmySQL.dll to WindowsSystem32 (as well as Windows, Apache2in, and anywhere else I could think of).
Now, whenever Apache starts it gives the following error:
PHP Startup: Unable to load dynamic library 'D:/Program Files/Apache Group/PHP/ext/php_mysql.dll' - The specified procedure could not be found.
The file exists on that path, everyone has permission to read/execute it.
How must I install sendmail in PHP4 to send or receive mail I have the Win32 Sendmail.exe and I don`t know what to do with it I have a Apache Webserver on Winnt4 server and PHP4 installed. Everything is working fine. I have made with frontpage a nice FORM with a PHP linked button to order. When I push the button you see that it works and when its ready nothing happend. I have read that I must enable the sendmail but how?
I am wanting to use one Apache-Win32 server setup with SSPI to act as an authentication server. In doing so setting a cookie and redirecting to my application server running on Lighttpd/FastCGI that will make use of the cookie set by the SSPI page earlier. For one server to set a cookie and have another use the cooke set by the other server? Or is this a security breach?I was trying to use
[PHPNET]setcookie("REMOTE_USER",$_SERVER[REMOTE_USER],0,"/","domain.local");[/PHPNET] and then reuse the cookie by accessing of course $_COOKIE["REMOTE_USER"];
I have come to love the ease of updating PHP, since getting used to using it these past few years. Recently, however, when I upgraded from PHP 5.1 to PHP 5.2.0 and again when moving to 5.2.1, I noticed strange behavior when trying to load php_mysqli.dll. I am using Apache 2.2.3 on Windows XP Pro (32-bit). I use the php5apache2_2.dll to load PHP as an Apache module. The PHPIniDir directive in httpd.conf points to the correct directory. I also have the older php_mysql.dll extension loaded simultaneously, which works fine. However, in phpinfo(), MySQLi is nowhere to be found, and trying to use any mysqli functions or its class will yield an error saying that they're undefined. In php.ini, the extension_dir directive points to "C:php5ext".
As for the environment, I have my PHP install dir in the _System_ PATH (it's been there for a long time): C:php5. When I install, I just move new release into the php5 directory, so necessary DLLs for extensions do not need to be moved, and older versions can be overwritten for newer releases. In fact, mb_string, mcrypt, GD2, cURL, php_mysql, and many other extensions load just fine. However, the only way I can get MySQLi to load correctly is by moving libmysql.dll into my C:WINDOWSsystem or C:WINDOWSsystem32 folders.
I simply can't understand why the problem lies only with MySQLi. Also, when I restart Apache, there are no errors. The MySQLi extension directive in php.ini is also uncommented, by the way. :-)
This has only started to happen since my past couple upgrades, so I'm not sure exactly what to make of that.