Skip to content
Advertisement

Tag: apache

PHP Windows extensions won´t load

I’m working on a windows server 2008 R2 machine. I have installed apache 2.2 with php 5.4.25 While trying to enable ldap support for the apache server i found out that the server does not load the extensions. I ran php_info() and this was the result Configuration File (php.ini) Path C:Windows Loaded configuration file: “C:phpphp.ini extension_dir C:phpext I have changed

How to give apache permission to write to home directory?

My server is in /var/www/html I have a php script in /var/www/html/fileio_test/io_test.php When I try to run this script I get How do I let apache write to my home directory? The server runs on fedora 20. Answer As your file residing in your Home directory, I would suggest one of following approaches. Give 0777 permission to file itself. Change

WampServer orange icon

I am having problems with Wamp Server, the icon will never turn green. It is constantly stuck at orange. I have tried many ways, editing HOSTS file, .config files, disabling IIS, changing SKYPE’s port, quitting SKYPE, disabling World Wide Web publishing services etc… And under wamp server icon > Apache > Test port 80, it states that Apache is using

rewrite uppercase url to lowercase url htaccess

I want my urls that contain uppercase characters to be redirected to lowercase url’s. Unfortunatly i don’t have access to the httpd.config file. So i tried this method to rewrite the urls with the htaccess file: http://www.askapache.com/htaccess/rewrite-uppercase-lowercase.html . But it adds extra / because it’s a loop and also it doesn’t work (504 error) when the url consists of more

Gettext will always use system default locale

I need to localise a Windows-only PHP web application and I’m evaluating the gettext extension but I’m having the hardest time trying to make it work in my Windows 7 development box. I’ve used trial and error together with Process Monitor to overcome the poor and inaccurate documentation and I’ve managed to make _() display strings from the *.po catalogue

Differentiate each apache user and give permissions

In a web application, I want to create a folder for each www-data user and give write permissions just on that folder, and just to that user. AFTER VALIDATION I can do: This will create a new directory with a random name, in the path $file->getPath() with all permissions to the owner user. But it would give permissions to all

Advertisement