PHP extensions not loading on IIS

Calling a function that loads an extension (curl, mysqli, etc.) throws a PHP fatal error. I’ve looked all over the internets but all the things found did not resolve. Here is a list of findings and details: PHP 5.6.14 NTS located in c:\php confirmed this is set in PATH extension_dir specified as c:\php\ext extension files … Read more

Is There any way to change Active Directory Users Database Source?

I need Active Directory Use My Own Custom Database (or shell or …) for Authentication Users. Is there any extention or something like this to change User Passwords Database of active directory? I need this Because My Accounts Are In simple Database And I don’t Want to Sync them periodically In Fact I can Not … Read more

nginx special directory whitelist extension

How can i set white list extension for special directory for my virtual host. I have bower installation of my webapp and i install many bower component into bower_components directiry of root of virtual host /vhostroot /bower_components /foo /bar index.php how can i set nginx white list extension on bower_components directory for example css,js,woff and … Read more

Pass ASP as PHP on nginx

I have been trying to parse .ASP files as PHP, but no matter what I try (for hours), it just doesn’t work. None of the tutorials/notes I find seem to work for me! Either file(s) get downloaded with their PHP code not being processed, or I get a ridiculous and stupid “Access denied.” error (single … Read more

Install kadm5 php extention

System is: openSUSE Leap 42.2 php 5.5.14-77.3.1 I want to install the kadm5 extention for php5 and have so far failed to do so. As https://codex.wordpress.org/User:Hakre/HowTo_PECL_on_Opensuse suggests I’ve tried with: pecl install kadm5-alpha which throws: downloading kadm5-0.2.3.tar … Starting to download kadm5-0.2.3.tar (105,984 bytes) ……..done: 105,984 bytes 13 source files, building running: phpize Connot find … Read more

Is it possible to start a new domain extension? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 2 days ago. Improve this question Is it possible to create a new domain extension? Lets say .com becomes .come is that possible to do? How would someone go … Read more

mediawiki cleanup extension? [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Server Fault. Closed 5 years ago. Improve this question Are there any extensions to mediawiki that will allow for a button to mark a page as “needs cleanup” or “deprecated”? Answer AFAIK … Read more

Nginx urls that maps to php files?

I’m trying to configure my nginx server such that any php file will be accessible without giving it’s extension. I’m already aware of many similar questions/answers like https://stackoverflow.com/questions/7760883/nginx-setting-a-default-file-extension/7761779#7761779 https://stackoverflow.com/questions/7760883/nginx-setting-a-default-file-extension and https://stackoverflow.com/questions/19975218/remove-php-from-url-with-rewrite-rule but I want to go a bit further : If the request contains the .php file, we will return a 404. So for example … Read more

How to configure Ajenti V hosted website with extension less URL

I am trying ways to configure my website to be extension less. That is when .php or .html files are visited, it’ll be redirected to an URL without the extension. Eg: www.mywebsite.com/products.php will redirect to www.mywebsite.com/products Anyone has successfully configured their Ajenti V with this? Many thanks in advance! Answer I tried to use Ajenti’s … Read more

Find the latest modified *.csv file and copy it into a different folder

My goal is to copy the latest file (based on modified date) in Windows to a different folder, and then rename the file to something different. My last line that is commented out was just a test to see that the copy command was working. Feel free to use whatever is installed by default in … Read more