While trying to run a single-file php script in my Fedora 15 installation, I got a very strange error: Continue reading [SOLVED] Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
HipHop for PHP is a source code transformer which transforms PHP code to C++ and compiles it with gcc/g++. I wanted to experiment with it and tried to install in on my PC with Fedora 15. Here is how I did it and how you can do it ( hopefully 🙂 ). Please note that this did not work and I will update the article soon.
This is a simple guide to setup LAMP (Linux, Apache, MySQL and PHP). I am assuming you have Linux (Fedora 15) installed. The following commands will install the necessary packages to run Apache, MySQL and PHP. Continue reading [HOWTO] Setup MySQL, Apache and PHP in Fedora 15
I am using Netbeans 6.9.1 on Windows 7 with XAMPP 1.7.4 installed. I wanted to enable step debugging for PHP like I do in my PC with Fedora (see here for Netbeans PHP step debugging for Fedora). To do that, I had to follow the following steps:
UPDATE: See the comment from “Mario De Weerd” below. Although it works in the same way, his technique seems more elegant.
I am running XAMPP 1.7.4 with PHP 5.3.5 on Windows 7. When using any text related GD library functions such as imagettftext(), I get the following error: Continue reading [SOLVED] Warning: imagettftext() [function.imagettftext]: Invalid font filename in path\to\php\file.php on line NN
I am using PHP Curl extension for a project which requires uploading file to a server I had no control over. However, I was getting HTTP Status 417 with error message Expectation Failed. I don’t know what this is supposed to do and why curl sends it, so I tried removing it by overriding it with the following code: Continue reading [SOLVED] “417 – Expectation Failed” in PHP curl while submitting multi-part forms
I am using Fedora Core 14 and have installed Selenium Module for PHP. I was not able to run PHPUnit tests on Yii Framework. I tried running Selenium server 1.0.1 and upgrade to 1.0.3 solved the problem.
If you are using PHP 5.3 and have created a new Yii! Framework 1.1 application, you will get the following error: Continue reading PHP Error while running newly created Yii Application
If you are using Netbeans 7.0 beta, the plugin list may not show Selenium Module for PHP. To install it, navigate to Tools>Plugins>Settings and click on Add. Then, in the name field, enter something like “Netbeans 6.9 beta” and in the URL field, enter the following URL: Continue reading [HOWTO] Install Selenium Module for PHP in Netbeans 7.0 beta