Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

dbx12, to php in Help installing PHP on Ubuntu (Solved. Thank you!)

Great that it worked out, did you use apt remove or apt purge?

You might want to put your code in triple back ticks so it renders as code block :) Currently isn’t visible on some clients (boost for Lemmy in my case)

dbx12, (edited ) to php in Help installing PHP on Ubuntu (Solved. Thank you!)

Looks like your php code is wrong, try this (and just this) for index.php


<span style="color:#323232;"><?php
</span><span style="color:#323232;">phpinfo();
</span>

You also had Test Text1 inside the php block which is a syntax error. Maybe that’s the cause why you don’t get anything.

Edit corrected the filename to lowercase extension.

dbx12, to php in Remove "final" keywords from classes and methods in vendor packages with Unfinalize

Yes the package pushes the notion “final is bad”. Throw both into the trash.

dbx12, to php in Remove "final" keywords from classes and methods in vendor packages with Unfinalize

Just because one person said “final is bad”, the Laravel fanboy herd is flocking to solutions like this. In my opinion, the package per se is not bad, but the unreflected, absolute statement “final is bad” is the problem.

dbx12, to php in Welcome to /c/PHP!

Docs is another topic I really don’t like about Laravel. Why don’t you have a simple API doc with available functions and their parameters instead of that blog-style documentation. And no, I don’t want to watch a video about how to use X, I want to know what functions I can call. Oh and don’t get me started on all their global “helper” functions.

dbx12, to php in Welcome to /c/PHP!

Hey, I’ve came over from Reddit and thought I’ll introduce myself as well. As every programmer, I’ve started way too many pet projects and almost all of them are starving. In terms of framework, I prefer Yii2 over Laravel every day. I feel like Laravel provides you a dozen different (seemingly equally good) ways of doing something. You could say it’s lacking clarity or guidance for the developer.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • meta
  • Macbeth
  • All magazines